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)
ContainerLifecycleListener
container
start-up. This method is invoked even
when application is reloaded and new instance of application has started.onStartup
in interface ContainerLifecycleListener
container
- container that has been started.public void onReload(Container container)
ContainerLifecycleListener
container
has been reloaded.onReload
in interface ContainerLifecycleListener
container
- container that has been reloaded.public void onShutdown(Container container)
ContainerLifecycleListener
container
shut-down. This method is invoked even before
the application is being stopped as a part of reload.onShutdown
in interface ContainerLifecycleListener
container
- container that has been shut down.Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.