public abstract class CommonStartStop extends java.lang.Object implements IStartStop
IStartStop. This abstract class
ensures that start and stop procedures are executed only once.| Constructor and Description |
|---|
CommonStartStop() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
basicStart()
Start the component lifecycle.
|
protected void |
basicStop()
Stop the component lifecycle.
|
boolean |
isStarted()
Answer
true if this object is started |
void |
start()
Start the component lifecycle.
|
void |
stop()
Stop the component lifecycle.
|
boolean |
stopRequested(java.util.Set visited)
Ask the component if it agrees to end its lifecycle at the very moment.
|
protected void basicStart()
protected void basicStop()
public final boolean isStarted()
IStartStoptrue if this object is startedisStarted in interface IStartStoptrue if this object is started.public final void start()
IStartStopstart in interface IStartStoppublic final void stop()
IStartStopstop in interface IStartStoppublic boolean stopRequested(java.util.Set visited)
IStartStopstopRequested in interface IStartStopvisited - The optional set of already visited objects in the stop
request cycle.