|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Contract @ConstrainedTo(value=SERVER) @Beta public interface ContainerLifecycleListener
Classes implementing this contract receive container life-cycle notification events.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.void onShutdown(Container container)
container shut-down. This method is invoked even before
the application is being stopped as a part of reload.
container - container that has been shut down.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||