|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IService
This interface must be implemented by a service object, which should be used in the framework.
| Method Summary | |
|---|---|
List |
getDependencyServices()
Gets a list of IDs (java.lang.String) of services which have to be started before this service is started. |
int |
getPriority()
Gets the priority of the service within the framework. 0 = hight priority, 999 = low priority. |
String |
getServiceID()
Gets the ID of the service. |
boolean |
isEnabled()
Checks if the service is enabled. |
boolean |
isRunning()
Checks if the service is running. |
void |
restart()
Restarts the service. |
void |
setEnabled(boolean status)
Sets the status of a service. |
void |
shutdown()
Shuts down the service. |
void |
startup()
Starts up the service. |
| Method Detail |
|---|
String getServiceID()
boolean isEnabled()
void setEnabled(boolean status)
status - true if enabled, false if not.void startup()
void shutdown()
void restart()
int getPriority()
boolean isRunning()
List getDependencyServices()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||