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

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

public class ConfigurationControllerService
extends org.jboss.system.ServiceMBeanSupport
implements ConfigurationControllerServiceMBean

Service to manage the configurationController when deployed to the appserver.

Author:
Kurt Stam

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
ConfigurationControllerService()
           
 
Method Summary
 java.lang.String getConfigurationFile()
          Gets the config file.
 void setConfigurationFile(java.lang.String configurationFile)
          Sets the config file.
protected  void startService()
          Starts the gateways.
protected  void stopService()
          Stops the gateways.
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, createService, destroy, destroyService, 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

ConfigurationControllerService

public ConfigurationControllerService()
Method Detail

startService

protected void startService()
                     throws java.lang.Exception
Starts the gateways.

Overrides:
startService in class org.jboss.system.ServiceMBeanSupport
Throws:
java.lang.Exception

stopService

protected void stopService()
                    throws java.lang.Exception
Stops the gateways.

Overrides:
stopService in class org.jboss.system.ServiceMBeanSupport
Throws:
java.lang.Exception

getConfigurationFile

public java.lang.String getConfigurationFile()
Gets the config file. The name of the file can be set in the jboss-service.xml.

Specified by:
getConfigurationFile in interface ConfigurationControllerServiceMBean

setConfigurationFile

public void setConfigurationFile(java.lang.String configurationFile)
Sets the config file.

Specified by:
setConfigurationFile in interface ConfigurationControllerServiceMBean