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
-
Method Summary
-
Constructor Details
-
AbstractContainerLifecycleListener
public AbstractContainerLifecycleListener()
-
-
Method Details
-
onStartup
Description copied from interface:ContainerLifecycleListener
Invoked at thecontainer
start-up. This method is invoked even when application is reloaded and new instance of application has started.- Specified by:
onStartup
in interfaceContainerLifecycleListener
- Parameters:
container
- container that has been started.
-
onReload
Description copied from interface:ContainerLifecycleListener
Invoked when thecontainer
has been reloaded.- Specified by:
onReload
in interfaceContainerLifecycleListener
- Parameters:
container
- container that has been reloaded.
-
onShutdown
Description copied from interface:ContainerLifecycleListener
Invoke at thecontainer
shut-down. This method is invoked even before the application is being stopped as a part of reload.- Specified by:
onShutdown
in interfaceContainerLifecycleListener
- Parameters:
container
- container that has been shut down.
-