org.jboss.soa.esb.listeners.config
Class JBoss4ESBDeployment

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, JBoss4ESBDeploymentMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class JBoss4ESBDeployment
extends org.jboss.system.ServiceMBeanSupport
implements JBoss4ESBDeploymentMBean

comment

Version:
$Revision: 188940 $
Author:
Bill Burke

Field Summary
 
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.lang.String jbossEsbXml, java.lang.String deploymentName)
           
 
Method Summary
 void createService()
           
 void destroyService()
           
 ManagedLifecycleController getController()
           
 java.lang.String getDeploymentName()
           
 java.lang.String getJbossEsbXml()
           
 java.lang.String getJbossEsbXmlAsHtml()
           
 java.util.List<org.jboss.internal.soa.esb.publish.ContractReferencePublisher> getPublishers()
           
 void setClassloader(java.lang.ClassLoader classloader)
           
 void setDeploymentName(java.lang.String deploymentName)
           
 void setPublishers(java.util.List<org.jboss.internal.soa.esb.publish.ContractReferencePublisher> publishers)
           
 void setServiceContracts(java.util.List<ServiceContract> serviceContracts)
           
 void startService()
           
 void stopService()
           
 
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, postDeregister, postRegister, preDeregister, preRegister, start, stop
 
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
 

Constructor Detail

JBoss4ESBDeployment

public JBoss4ESBDeployment(java.lang.String jbossEsbXml,
                           java.lang.String deploymentName)
Method Detail

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)

setServiceContracts

public void setServiceContracts(java.util.List<ServiceContract> serviceContracts)

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()

createService

public void createService()
Overrides:
createService in class org.jboss.system.ServiceMBeanSupport

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