|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceControllerAction
Action for controlling services installed under the extensions system.
A factory may return the same or a different action on each invokation,
but the action must control the same service. The actions should not store
state internally. Eg. if there are two different controllers for the same
extension the isRunning()
method should always return the same
value on both of them and invoking start()
or stop()
on one
controller should be immediately visible on the second controller.
Method Summary | |
---|---|
boolean |
isRunning()
Is the service running or not? |
void |
start()
Start the service if it is not already running. |
void |
stop()
Stop the service if it is running. |
Method Detail |
---|
boolean isRunning()
void start()
void stop()
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |