public abstract class ContainerHandler extends AbstractHandler implements Handler<ContainerLifecycleEvent>
Handler of ContainerLifecycleEvents.| Constructor and Description |
|---|
ContainerHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(ContainerLifecycleEvent e)
Processes a given event.
|
void |
onStart(ContainerLifecycleEvent.Start e)
Invoked when the container starts.
|
void |
onStop(ContainerLifecycleEvent.Stop e)
Invoked when the container stops.
|
equals, toStringpublic void onStart(ContainerLifecycleEvent.Start e)
e - the eventpublic void onStop(ContainerLifecycleEvent.Stop e)
e - the stop eventpublic void onEvent(ContainerLifecycleEvent e)
HandleronEvent in interface Handler<ContainerLifecycleEvent>Copyright © 2020. All Rights Reserved.