Package org.glassfish.jersey.server.spi
Interface ContainerLifecycleListener
- All Known Implementing Classes:
AbstractContainerLifecycleListener,ApplicationHandler,MBeanExposer,MonitoringContainerListener
Classes implementing this contract receive container life-cycle notification
events.
- Author:
- Marek Potociar
-
Method Summary
-
Method Details
-
onStartup
Invoked at thecontainerstart-up. This method is invoked even when application is reloaded and new instance of application has started.- Parameters:
container- container that has been started.
-
onReload
Invoked when thecontainerhas been reloaded.- Parameters:
container- container that has been reloaded.
-
onShutdown
Invoke at thecontainershut-down. This method is invoked even before the application is being stopped as a part of reload.- Parameters:
container- container that has been shut down.
-