@Contract @ConstrainedTo(value=SERVER) public interface ContainerLifecycleListener
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. |
void onStartup(Container container)
container
start-up. This method is invoked even
when application is reloaded and new instance of application has started.container
- container that has been started.void onReload(Container container)
container
has been reloaded.container
- container that has been reloaded.Copyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.