|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides an ability to stop and restart the service.
A Service
should implement this interface if it can be stopped and then
started again. The cycle of stopping and restarting can occur as many times as needed,
until the service is shut down finally via its Service.shutdown()
method.
Note that service, which doesn't implement this interface, cannot be started more
than once. Such a service must throw the IllegalStateException in the case of
invoking its stop()
method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |