|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.deployment.SubDeployerSupport
org.servicemix.jboss.deployment.JBIDeployer
public class JBIDeployer
This is the deployer that handles picking up and deploying a JBI package out to the ServiceMix container.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jboss.deployment.SubDeployerSupport |
|---|
org.jboss.deployment.SubDeployerSupport.ClassConfiguration |
| Field Summary |
|---|
| Fields inherited from class org.jboss.deployment.SubDeployerSupport |
|---|
CONFIGURATION, mainDeployer, nativePrefix, nativeSuffix, relativeOrder, suffixes, tempDeployDir |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.deployment.SubDeployer |
|---|
CREATE_NOTIFICATION, DESTROY_NOTIFICATION, INIT_NOTIFICATION, RELATIVE_ORDER_100, RELATIVE_ORDER_200, RELATIVE_ORDER_300, RELATIVE_ORDER_400, RELATIVE_ORDER_500, RELATIVE_ORDER_600, RELATIVE_ORDER_700, RELATIVE_ORDER_800, RELATIVE_ORDER_900, START_NOTIFICATION, STOP_NOTIFICATION |
| 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 |
| Constructor Summary | |
|---|---|
JBIDeployer()
|
|
| 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()
|
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 |
getDeploymentService()
Gets the JBI deployment service object name |
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. |
protected void |
initLoaderRepository(org.jboss.deployment.DeploymentInfo di)
Add the jbi scoped repository |
void |
setDeploymentService(javax.management.ObjectName deploymentService)
Sets the JBI deployment service object name |
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 class org.jboss.deployment.SubDeployerSupport |
|---|
addDeployableFiles, addDeployableJar, createService, deployUrl, destroyService, emitNotification, getRelativeOrder, getSuffixes, isDeployable, processNestedDeployments, setRelativeOrder, setSuffixes, startService, stopService |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.deployment.SubDeployer |
|---|
getRelativeOrder, getServiceName, getSuffixes, setRelativeOrder, setSuffixes |
| 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, start, stop |
| Constructor Detail |
|---|
public JBIDeployer()
| Method Detail |
|---|
public boolean accepts(org.jboss.deployment.DeploymentInfo di)
accepts in interface org.jboss.deployment.SubDeployeraccepts in interface org.jboss.deployment.SubDeployerMBeanaccepts in interface JBIDeployerMBean
public void create(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
create method here.
create in interface org.jboss.deployment.SubDeployercreate in interface org.jboss.deployment.SubDeployerMBeancreate in interface JBIDeployerMBeancreate in class org.jboss.deployment.SubDeployerSupportdi - a DeploymentInfo value
org.jboss.deployment.DeploymentException - if an error occurspublic void destroy()
destroy in interface org.jboss.system.Servicedestroy in class org.jboss.system.ServiceMBeanSupportpublic void destroy(org.jboss.deployment.DeploymentInfo di)
destroy in interface org.jboss.deployment.SubDeployerdestroy in interface org.jboss.deployment.SubDeployerMBeandestroy in interface JBIDeployerMBeandestroy in class org.jboss.deployment.SubDeployerSupportdi - a DeploymentInfo valuepublic javax.management.ObjectName getDeploymentService()
public javax.management.ObjectName getJBIContainer()
getJBIContainer in interface JBIDeployerMBeanpublic org.jboss.deployment.DeploymentInfo getService(javax.management.ObjectName serviceName)
getService in interface JBIDeployerMBeanserviceName - a service object name
public void init(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
init method here.
init in interface org.jboss.deployment.SubDeployerinit in interface org.jboss.deployment.SubDeployerMBeaninit in interface JBIDeployerMBeaninit in class org.jboss.deployment.SubDeployerSupportdi - a DeploymentInfo value
org.jboss.deployment.DeploymentException - if an error occurspublic void setDeploymentService(javax.management.ObjectName deploymentService)
deploymentService - public void setJBIContainer(javax.management.ObjectName jbiContainerMBean)
setJBIContainer in interface JBIDeployerMBeanjbiContainerMBean - The ObjectName of the JBI Container's MBean
public void start(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
start method starts all the mbeans in this
DeploymentInfo..
start in interface org.jboss.deployment.SubDeployerstart in interface org.jboss.deployment.SubDeployerMBeanstart in interface JBIDeployerMBeanstart in class org.jboss.deployment.SubDeployerSupportdi - a DeploymentInfo value
org.jboss.deployment.DeploymentException - if an error occurspublic void stop(org.jboss.deployment.DeploymentInfo di)
stop in interface org.jboss.deployment.SubDeployerstop in interface org.jboss.deployment.SubDeployerMBeanstop in interface JBIDeployerMBeanstop in class org.jboss.deployment.SubDeployerSupportdi - the DeploymentInfo value to stop.
protected void initLoaderRepository(org.jboss.deployment.DeploymentInfo di)
throws java.lang.Exception
di - the deployment info passed to deploy
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||