|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStartStop
This describes the components ability to explicitly start or stop its lifecycle. This is an alternative and more detailed description than supported by IStartable and should be preferred.
Method Summary | |
---|---|
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. |
Method Detail |
---|
boolean isStarted()
true
if this object is started
true
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |