|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Serviceable
This interface defines a protocol for serviceable objects. A serviceable object is one that can be controlled through start, stop etc.
BasicService
Method Summary | |
---|---|
void |
start()
Start the service. |
void |
stop()
Stop the service. |
Method Detail |
---|
void start() throws ServiceException
ServiceException
- if the service fails to start, or is already
runningvoid stop() throws ServiceException
ServiceException
- if the service fails to stop, or is already
stopped
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |