|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The lifecycle interface for generic components.
Classes implementing this interface have a defined life cycle
defined by the methods of this interface.
Method Summary | |
boolean |
isFailed()
|
boolean |
isRunning()
|
boolean |
isStarted()
|
boolean |
isStarting()
|
boolean |
isStopped()
|
boolean |
isStopping()
|
void |
start()
Starts the component. |
void |
stop()
Stops the component. |
Method Detail |
public void start() throws Exception
Exception
- If the component fails to startisStarted()
,
stop()
,
isFailed()
public void stop() throws Exception
Exception
- If the component fails to stopisStopped()
,
start()
,
isFailed()
public boolean isRunning()
public boolean isStarted()
start()
,
isStarting()
public boolean isStarting()
isStarted()
public boolean isStopping()
isStopped()
public boolean isStopped()
stop()
,
isStopping()
public boolean isFailed()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |