public abstract class AbstractContainerLifecycleListener extends Object implements ContainerLifecycleListener
container liefecycle listener
callback method(s).| Constructor and Description |
|---|
AbstractContainerLifecycleListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onReload(Container container)
Invoked when the
container has been reloaded. |
void |
onShutdown(Container container)
Invoke at the
container shut-down. |
void |
onStartup(Container container)
Invoked at the
container start-up. |
public void onStartup(Container container)
ContainerLifecycleListenercontainer start-up. This method is invoked even
when application is reloaded and new instance of application has started.onStartup in interface ContainerLifecycleListenercontainer - container that has been started.public void onReload(Container container)
ContainerLifecycleListenercontainer has been reloaded.onReload in interface ContainerLifecycleListenercontainer - container that has been reloaded.public void onShutdown(Container container)
ContainerLifecycleListenercontainer shut-down. This method is invoked even before
the application is being stopped as a part of reload.onShutdown in interface ContainerLifecycleListenercontainer - container that has been shut down.Copyright © 2007-2024,Oracleand/or its affiliates.All Rights Reserved. Use is subject to license terms.