Package org.glassfish.jersey.server.spi
Class AbstractContainerLifecycleListener
java.lang.Object
org.glassfish.jersey.server.spi.AbstractContainerLifecycleListener
- All Implemented Interfaces:
ContainerLifecycleListener
- Direct Known Subclasses:
MBeanExposer
public abstract class AbstractContainerLifecycleListener
extends Object
implements ContainerLifecycleListener
Convenience class to allow implementing only a subset of
container liefecycle listener
callback method(s).- Author:
- Jakub Podlesak
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractContainerLifecycleListener
public AbstractContainerLifecycleListener()
-
-
Method Details
-
onStartup
Description copied from interface:ContainerLifecycleListenerInvoked at thecontainerstart-up. This method is invoked even when application is reloaded and new instance of application has started.- Specified by:
onStartupin interfaceContainerLifecycleListener- Parameters:
container- container that has been started.
-
onReload
Description copied from interface:ContainerLifecycleListenerInvoked when thecontainerhas been reloaded.- Specified by:
onReloadin interfaceContainerLifecycleListener- Parameters:
container- container that has been reloaded.
-
onShutdown
Description copied from interface:ContainerLifecycleListenerInvoke at thecontainershut-down. This method is invoked even before the application is being stopped as a part of reload.- Specified by:
onShutdownin interfaceContainerLifecycleListener- Parameters:
container- container that has been shut down.
-