|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Startable
This interface is used to denote container components that need to be started.
It contains the stop method as anything that needs to be started should also clean up when stopped.
Method Summary | |
---|---|
boolean |
isActive()
Indicates whether this is currently active. |
void |
start()
Start the component |
void |
stop()
Stop the component and clean up any resources |
Method Detail |
---|
void start() throws java.lang.Exception
java.lang.Exception
- A generic failurevoid stop() throws java.lang.Exception
java.lang.Exception
- A generic failureboolean isActive()
Indicates whether this is currently active.
true
if this is active, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |