public class ComponentLifecycleManager extends java.lang.Object implements ComponentLifecycle
ComponentLifecycle components.DEFAULT_PHASE| Constructor and Description |
|---|
ComponentLifecycleManager(java.util.List<ComponentLifecycle> components)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRunning()
Check whether this component is currently running.
|
void |
start()
Start this component.
|
void |
stop()
Stops this component in a synchronous call, such that the component is fully stopped upon return of this method.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPhasepublic ComponentLifecycleManager(java.util.List<ComponentLifecycle> components)
components - The List of ComponentLifecycle components managed by this listenerpublic boolean isRunning()
ComponentLifecycleisRunning in interface ComponentLifecyclepublic void start()
ComponentLifecyclestart in interface ComponentLifecyclepublic void stop()
ComponentLifecyclestop in interface ComponentLifecycle