|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Startable interface is used when components need to be "running" to be active. It provides a method through which components can be "started" and "stopped" without requiring a thread. Note that these methods should start the component but return imediately.
Method Summary | |
void |
start()
Starts the component. |
void |
stop()
Stops the component. |
Method Detail |
public void start() throws java.lang.Exception
java.lang.Exception
- if Component can not be startedpublic void stop() throws java.lang.Exception
java.lang.Exception
- if the Component can not be Stopped.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |