org.jboss.soa.esb.listeners.config
Class JBoss4ESBDeployment
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.kernel.spi.dependency.KernelControllerContextAware, JBoss4ESBDeploymentMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
public class JBoss4ESBDeployment
- extends org.jboss.system.ServiceMBeanSupport
- implements JBoss4ESBDeploymentMBean
Represents the JBoss AS 4 ESB deployment
- Version:
- $Revision: 1.1 $
- Author:
- Bill Burke, Magesh Kumar B
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
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 |
JBoss4ESBDeployment(java.net.URL document,
org.jboss.deployment.DeploymentInfo di,
java.io.File esbWarFiles)
|
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, destroy, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, stop, unsetKernelControllerContext |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, 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.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
JBoss4ESBDeployment
public JBoss4ESBDeployment(java.net.URL document,
org.jboss.deployment.DeploymentInfo di,
java.io.File esbWarFiles)
throws org.jboss.deployment.DeploymentException
- Throws:
org.jboss.deployment.DeploymentException
getJbossEsbXml
public java.lang.String getJbossEsbXml()
- Specified by:
getJbossEsbXml
in interface JBoss4ESBDeploymentMBean
getJbossEsbXmlAsHtml
public java.lang.String getJbossEsbXmlAsHtml()
- Specified by:
getJbossEsbXmlAsHtml
in interface JBoss4ESBDeploymentMBean
setClassloader
public void setClassloader(java.lang.ClassLoader classloader)
setPublishers
public void setPublishers(java.util.List<org.jboss.internal.soa.esb.publish.ContractReferencePublisher> publishers)
setServlets
public void setServlets(java.util.List<org.jboss.internal.soa.esb.listeners.war.Servlet> servlets)
getServlets
public java.util.List<org.jboss.internal.soa.esb.listeners.war.Servlet> getServlets()
getController
public ManagedLifecycleController getController()
getDeploymentName
public java.lang.String getDeploymentName()
setDeploymentName
public void setDeploymentName(java.lang.String deploymentName)
getPublishers
public java.util.List<org.jboss.internal.soa.esb.publish.ContractReferencePublisher> getPublishers()
getModel
public ModelAdapter getModel()
createService
public void createService()
throws org.jboss.deployment.DeploymentException,
ConfigurationException,
javax.management.JMException
- Overrides:
createService
in class org.jboss.system.ServiceMBeanSupport
- Throws:
org.jboss.deployment.DeploymentException
ConfigurationException
javax.management.JMException
startService
public void startService()
throws java.lang.Exception
- Overrides:
startService
in class org.jboss.system.ServiceMBeanSupport
- Throws:
java.lang.Exception
stopService
public void stopService()
throws java.lang.Exception
- Overrides:
stopService
in class org.jboss.system.ServiceMBeanSupport
- Throws:
java.lang.Exception
destroyService
public void destroyService()
throws java.lang.Exception
- Overrides:
destroyService
in class org.jboss.system.ServiceMBeanSupport
- Throws:
java.lang.Exception