|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SubDeployerMBean
MBean interface for SubDeployers
Field Summary |
---|
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 sdi)
The accepts method is called by MainDeployer
to determine which deployer is suitable for a DeploymentInfo. |
void |
create(DeploymentInfo sdi)
Set up the components of the deployment that do not refer to other components. |
void |
destroy(DeploymentInfo sdi)
The destroy method removes individual
components |
int |
getRelativeOrder()
Get the relative order of the specified suffixes |
javax.management.ObjectName |
getServiceName()
Get the JMX ObjectName of the service that provides the SubDeployer |
String[] |
getSuffixes()
Get an array of suffixes of interest to this subdeployer |
void |
init(DeploymentInfo sdi)
The init method lets the deployer set a few
properties of the DeploymentInfo, such as the watch url. |
void |
start(DeploymentInfo sdi)
The start method sets up relationships
with other components. |
void |
stop(DeploymentInfo sdi)
The stop method removes relationships
between components. |
Methods inherited from interface org.jboss.system.ServiceMBean |
---|
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
---|
create, destroy, start, stop |
Method Detail |
---|
javax.management.ObjectName getServiceName()
String[] getSuffixes()
int getRelativeOrder()
boolean accepts(DeploymentInfo sdi)
accepts
method is called by MainDeployer
to determine which deployer is suitable for a DeploymentInfo.
sdi
- a DeploymentInfo
value
boolean
valuevoid init(DeploymentInfo sdi) throws DeploymentException
init
method lets the deployer set a few
properties of the DeploymentInfo, such as the watch url.
sdi
- a DeploymentInfo
value
DeploymentException
- if an error occursvoid create(DeploymentInfo sdi) throws DeploymentException
sdi
- a DeploymentInfo
value
DeploymentException
- if an error occursvoid start(DeploymentInfo sdi) throws DeploymentException
start
method sets up relationships
with other components.
sdi
- a DeploymentInfo
value
DeploymentException
- if an error occursvoid stop(DeploymentInfo sdi) throws DeploymentException
stop
method removes relationships
between components.
sdi
- a DeploymentInfo
value
DeploymentException
- if an error occursvoid destroy(DeploymentInfo sdi) throws DeploymentException
destroy
method removes individual
components
sdi
- a DeploymentInfo
value
DeploymentException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |