|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Service
A Service
is a component of the DRAGOS database which is
responsible for a certain task. Services may be optional or not!
Nested Class Summary | |
---|---|
static class |
Service.Result
Starting, stopping etc. of services can be successful or not. |
static class |
Service.State
A Service can be in different states. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of the service. |
Service.State |
getState()
Returns the state of the service. |
Service.Result |
initialize()
Initializes the services. |
Service.Result |
resume()
Tries to resume the execution of a service or a start a service which has been stopped before. |
Service.Result |
start()
Tries to start the service. |
Service.Result |
stop()
Tries to stop the service. |
Service.Result |
suspend()
Tries to suspend the execution of a service. |
Service.Result |
uninitialize()
Uninitializes the services and releases all resources used by the service. |
Method Detail |
---|
java.lang.String getName()
Service.State getState()
Service.Result initialize()
Service.Result uninitialize()
Service.Result start()
Service.Result stop()
Service.Result suspend()
Service.Result resume()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |