Package org.jboss.system
Interface ServiceMBean
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
ServiceMBeanSupport
public interface ServiceMBean extends Service
An interface describing a JBoss service MBean.- Version:
- $Revision: 81033 $
- Author:
- Rickard Oberg, Andreas Schaefer, Scott.Stark@jboss.org
- See Also:
Service,ServiceMBeanSupport
-
-
Field Summary
Fields Modifier and Type Field Description static StringCREATE_EVENTServiceController notification types corresponding to service lifecycle eventsstatic intCREATEDThe Service.create has completedstatic StringDESTROY_EVENTstatic intDESTROYEDThe Service.destroy has completedstatic intFAILEDThere has been an error during some operationstatic intREGISTEREDThe MBean has been created and has completed MBeanRegistration.postRegisterstatic StringSTART_EVENTstatic intSTARTEDThe Service.start has completedstatic intSTARTINGThe Service.start has been invokedstatic String[]statesstatic StringSTOP_EVENTstatic intSTOPPEDThe Service.stop has completedstatic intSTOPPINGThe Service.stop has been invokedstatic intUNREGISTEREDThe MBean has been created but has not completed MBeanRegistration.postRegister
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()intgetState()StringgetStateString()voidjbossInternalLifecycle(String method)Detyped lifecycle invocation
-
-
-
Field Detail
-
CREATE_EVENT
static final String CREATE_EVENT
ServiceController notification types corresponding to service lifecycle events- See Also:
- Constant Field Values
-
START_EVENT
static final String START_EVENT
- See Also:
- Constant Field Values
-
STOP_EVENT
static final String STOP_EVENT
- See Also:
- Constant Field Values
-
DESTROY_EVENT
static final String DESTROY_EVENT
- See Also:
- Constant Field Values
-
states
static final String[] states
-
STOPPED
static final int STOPPED
The Service.stop has completed- See Also:
- Constant Field Values
-
STOPPING
static final int STOPPING
The Service.stop has been invoked- See Also:
- Constant Field Values
-
STARTING
static final int STARTING
The Service.start has been invoked- See Also:
- Constant Field Values
-
STARTED
static final int STARTED
The Service.start has completed- See Also:
- Constant Field Values
-
FAILED
static final int FAILED
There has been an error during some operation- See Also:
- Constant Field Values
-
DESTROYED
static final int DESTROYED
The Service.destroy has completed- See Also:
- Constant Field Values
-
CREATED
static final int CREATED
The Service.create has completed- See Also:
- Constant Field Values
-
UNREGISTERED
static final int UNREGISTERED
The MBean has been created but has not completed MBeanRegistration.postRegister- See Also:
- Constant Field Values
-
REGISTERED
static final int REGISTERED
The MBean has been created and has completed MBeanRegistration.postRegister- See Also:
- Constant Field Values
-
-