public interface IStartStop extends IInstantiable
Modifier and Type | Method and Description |
---|---|
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.
|
boolean isStarted()
true
if this object is startedtrue
if this object is started.void start()
void stop()
boolean stopRequested(java.util.Set visited)
visited
- The optional set of already visited objects in the stop
request cycle.