- init
Initialize the service. The transition MUST be from STATE#NOTINITED to
STATE#INITEDunless the operat
- start
Start the service. The transition MUST be from STATE#INITED to
STATE#STARTEDunless the operation fai
- stop
Stop the service. This MUST be a no-op if the service is already in the
STATE#STOPPED state. It SHOU
- getName
Get the name of this service.
- getServiceState
Get the current service state
- getFailureCause
Get the first exception raised during the service failure. If null, no exception
was logged
- registerServiceListener
Register a listener to the service state change events. If the supplied listener
is already listenin
- getFailureState
Get the state in which the failure in #getFailureCause() occurred.
- isInState
Query to see if the service is in a specific state. In a multi-threaded system,
the state may not ho
- getConfig
Get the configuration of this service. This is normally not a clone and may be
manipulated, though t
- waitForServiceToStop
Block waiting for the service to stop; uses the termination notification object
to do so. This metho