public void shutdown ( ) { for ( ShutdownListener shutdownListener : shutdownListeners ) { try { shutdownListener . shutdown ( ) ; } catch ( Exception e ) { LOGGER . severe ( "failed shutdown" + e . getMessage ( ) ) ; } } }
notify all registered ShutdownListener objects that the ServletContext is being destroyed .