|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean interface.
Service
Field Summary | |
static javax.management.ObjectName |
OBJECT_NAME
|
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Method Summary | |
boolean |
accepts(DeploymentInfo di)
Returns true if this deployer can deploy the given DeploymentInfo. |
void |
create(DeploymentInfo di)
The create method creates the MBeans associated with the deployment. |
void |
destroy(DeploymentInfo di)
The destroy method invokes destroy on the mbeans associated with the deployment in reverse order relative to create. |
DeploymentInfo |
getService(javax.management.ObjectName serviceName)
The destroy method invokes destroy on the mbeans associated with the deployment in reverse order relative to create. |
void |
init(DeploymentInfo di)
The init method parses the jboss-service.xml descriptor for the service. |
void |
start(DeploymentInfo di)
The start method starts all the mbeans in this DeploymentInfo.. |
void |
stop(DeploymentInfo di)
The stop method invokes stop on the mbeans associatedw ith the deployment in reverse order relative to create. |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Field Detail |
public static final javax.management.ObjectName OBJECT_NAME
Method Detail |
public DeploymentInfo getService(javax.management.ObjectName serviceName)
public boolean accepts(DeploymentInfo di)
accepts
in interface SubDeployerMBean
di
- a DeploymentInfo
value
public void init(DeploymentInfo di) throws DeploymentException
init
in interface SubDeployerMBean
di
- a DeploymentInfo
value
DeploymentException
- if an error occurspublic void create(DeploymentInfo di) throws DeploymentException
create
in interface SubDeployerMBean
di
- a DeploymentInfo
value
DeploymentException
- if an error occurspublic void start(DeploymentInfo di) throws DeploymentException
start
method starts all the mbeans in this DeploymentInfo..
start
in interface SubDeployerMBean
di
- a DeploymentInfo
value
DeploymentException
- if an error occurspublic void stop(DeploymentInfo di)
stop
in interface SubDeployerMBean
di
- the DeploymentInfo
value to stop.public void destroy(DeploymentInfo di)
destroy
in interface SubDeployerMBean
di
- a DeploymentInfo
value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |