Am I right in assuming that by the time ServletContextListener.contextDestroyed() is called, the respective web application won't be accepting HttpRequests anymore?
If yes, is there any way to be notified of an imminent shutdown while still accepting requests / serving content?