|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Service
A service running in background.
Method Summary | |
---|---|
String |
getName()
Return the name of the service. |
boolean |
isAutoStart()
Tell if the service is started automatically on server startup. |
boolean |
isRunning()
Tell if the service is currently running. |
void |
setAutoStart(boolean autoStart)
Set the auto start status. |
void |
start()
Start the service. |
void |
stop()
Stop the service. |
Method Detail |
---|
String getName()
void start()
void stop()
boolean isRunning()
boolean isAutoStart()
void setAutoStart(boolean autoStart)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |