| Modifier and Type | Class and Description |
|---|---|
| public static interface | LifeCycle.Listener
Listener. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public static void | start(Object
The instance to start. object)Utility to start an object if it is a LifeCycle and to convert
any exception thrown to a |
| public void | |
| public static void | stop(Object
The instance to stop. object)Utility to stop an object if it is a LifeCycle and to convert
any exception thrown to a |
| addEventListener | back to summary |
|---|---|
| public boolean addEventListener(EventListener listener) | |
| isFailed | back to summary |
|---|---|
public boolean isFailed()
| |
| isRunning | back to summary |
|---|---|
public boolean isRunning()
| |
| isStarted | back to summary |
|---|---|
public boolean isStarted()
| |
| isStarting | back to summary |
|---|---|
public boolean isStarting()
| |
| isStopped | back to summary |
|---|---|
public boolean isStopped()
| |
| isStopping | back to summary |
|---|---|
public boolean isStopping()
| |
| removeEventListener | back to summary |
|---|---|
| public boolean removeEventListener(EventListener listener) | |
| start | back to summary |
|---|---|
| public void start() throws Exception Starts the component.
| |
| start | back to summary |
|---|---|
| public static void start(Object object) Utility to start an object if it is a LifeCycle and to convert
any exception thrown to a
| |
| stop | back to summary |
|---|---|
| public void stop() throws Exception Stops the component. The component may wait for current activities to complete normally, but it can be interrupted.
| |
| stop | back to summary |
|---|---|
| public static void stop(Object object) Utility to stop an object if it is a LifeCycle and to convert
any exception thrown to a
| |
| Modifier and Type | Method and Description |
|---|---|
| public default void | |
| public default void | |
| public default void | |
| public default void | |
| public default void |
| lifeCycleFailure | back to summary |
|---|---|
| public default void lifeCycleFailure(LifeCycle event, Throwable cause) | |
| lifeCycleStarted | back to summary |
|---|---|
| public default void lifeCycleStarted(LifeCycle event) | |
| lifeCycleStarting | back to summary |
|---|---|
| public default void lifeCycleStarting(LifeCycle event) | |
| lifeCycleStopped | back to summary |
|---|---|
| public default void lifeCycleStopped(LifeCycle event) | |
| lifeCycleStopping | back to summary |
|---|---|
| public default void lifeCycleStopping(LifeCycle event) | |