org.servicemix.jboss.deployment
Interface JBIDeployerMBean

All Superinterfaces:
org.jboss.system.Service, org.jboss.system.ServiceMBean, org.jboss.deployment.SubDeployerMBean
All Known Implementing Classes:
JBIDeployer

public interface JBIDeployerMBean
extends org.jboss.deployment.SubDeployerMBean

MBean interface.

Author:
Philip Dodds

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(org.jboss.deployment.DeploymentInfo di)
          Returns true if this deployer can deploy the given DeploymentInfo, for the time being we look for the extension iar.
 void create(org.jboss.deployment.DeploymentInfo di)
          Describe create method here.
 void destroy(org.jboss.deployment.DeploymentInfo di)
          The destroy method invokes destroy on the mbeans associated with the deployment in reverse order relative to create.
 javax.management.ObjectName getJBIContainer()
          Gets the ObjectName of the JBI Container's MBean
 org.jboss.deployment.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(org.jboss.deployment.DeploymentInfo di)
          Describe init method here.
 void setJBIContainer(javax.management.ObjectName jbiContainerMBean)
          Sets the ObjectName of the JBI Container's MBean
 void start(org.jboss.deployment.DeploymentInfo di)
          The start method starts all the mbeans in this DeploymentInfo..
 void stop(org.jboss.deployment.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.deployment.SubDeployerMBean
getRelativeOrder, getSuffixes, setRelativeOrder, setSuffixes
 
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

accepts

boolean accepts(org.jboss.deployment.DeploymentInfo di)
Returns true if this deployer can deploy the given DeploymentInfo, for the time being we look for the extension iar.

Specified by:
accepts in interface org.jboss.deployment.SubDeployerMBean
Returns:
True if this deployer can deploy the given DeploymentInfo.

create

void create(org.jboss.deployment.DeploymentInfo di)
            throws org.jboss.deployment.DeploymentException
Describe create method here.

Specified by:
create in interface org.jboss.deployment.SubDeployerMBean
Parameters:
di - a DeploymentInfo value
Throws:
DeploymentException - if an error occurs

destroy

void destroy(org.jboss.deployment.DeploymentInfo di)
The destroy method invokes destroy on the mbeans associated with the deployment in reverse order relative to create.

Specified by:
destroy in interface org.jboss.deployment.SubDeployerMBean
Parameters:
di - a DeploymentInfo value

getJBIContainer

javax.management.ObjectName getJBIContainer()
Gets the ObjectName of the JBI Container's MBean

Returns:
The ObjectName of the JBI Container MBean

getService

org.jboss.deployment.DeploymentInfo getService(javax.management.ObjectName serviceName)
The destroy method invokes destroy on the mbeans associated with the deployment in reverse order relative to create.

Parameters:
serviceName - a service object name
Returns:
The associated service DeploymentInfo if found, null otherwise

init

void init(org.jboss.deployment.DeploymentInfo di)
          throws org.jboss.deployment.DeploymentException
Describe init method here.

Specified by:
init in interface org.jboss.deployment.SubDeployerMBean
Parameters:
di - a DeploymentInfo value
Throws:
DeploymentException - if an error occurs

setJBIContainer

void setJBIContainer(javax.management.ObjectName jbiContainerMBean)
Sets the ObjectName of the JBI Container's MBean

Parameters:
jbiContainerMBean - The ObjectName of the JBI Container's MBean

start

void start(org.jboss.deployment.DeploymentInfo di)
           throws org.jboss.deployment.DeploymentException
The start method starts all the mbeans in this DeploymentInfo..

Specified by:
start in interface org.jboss.deployment.SubDeployerMBean
Parameters:
di - a DeploymentInfo value
Throws:
DeploymentException - if an error occurs

stop

void stop(org.jboss.deployment.DeploymentInfo di)
The stop method invokes stop on the mbeans associatedw ith the deployment in reverse order relative to create.

Specified by:
stop in interface org.jboss.deployment.SubDeployerMBean
Parameters:
di - the DeploymentInfo value to stop.


Copyright © 2005-2011 FuseSource. All Rights Reserved.