|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A component LifeCycle. Represents the life cycle interface for an abstract software component.
Method Summary | |
boolean |
isStarted()
|
void |
start()
Start the LifeCycle. |
void |
stop()
Stop the LifeCycle. |
Method Detail |
public void start() throws java.lang.Exception
java.lang.Exception
- An arbitrary exception may be thrown.public void stop() throws java.lang.InterruptedException
java.lang.InterruptedException
- Stopping a lifecycle is rarely atomic
and may be interrupted by another thread. If this happens
InterruptedException is throw and the component will be in an
indeterminant state and should probably be discarded.public boolean isStarted()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |