|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object i3.dragos.core.AbstractService
public abstract class AbstractService
AbstractService
is a generic implementation of the Service
interface.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface i3.dragos.core.Service |
---|
Service.Result, Service.State |
Constructor Summary | |
---|---|
AbstractService()
Empty default constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface i3.dragos.core.Service |
---|
getName |
Constructor Detail |
---|
public AbstractService()
Method Detail |
---|
public Service.Result initialize()
initialize
in interface Service
public Service.Result uninitialize()
uninitialize
in interface Service
public Service.Result start()
start
in interface Service
public Service.Result stop()
stop
in interface Service
public Service.Result resume()
resume
in interface Service
public Service.Result suspend()
suspend
in interface Service
public Service.State getState()
getState
in interface Service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |