org.jboss.soa.esb.common
Class JBossESBPropertyService

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.soa.esb.common.JBossESBPropertyService
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, JBossESBPropertyServiceMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class JBossESBPropertyService
extends org.jboss.system.ServiceMBeanSupport
implements JBossESBPropertyServiceMBean

This MBean wraps the configuration to allow ServiceBindingManager to alter the configuration.


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
JBossESBPropertyService()
           
 
Method Summary
protected  void createService()
          Create the property service.
static java.lang.String getBindAddress()
          Deprecated. Use Configuration.getBindAddress().
 java.lang.String getPropertyFile()
          Get the property file.
 void setPropertiesFileDir(java.lang.String directory)
           
 void setPropertyFile(java.lang.String propertyFile)
          Set the property file.
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, stopService
 
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

JBossESBPropertyService

public JBossESBPropertyService()
Method Detail

getPropertyFile

public java.lang.String getPropertyFile()
Get the property file.

Specified by:
getPropertyFile in interface JBossESBPropertyServiceMBean
Returns:
The name of the property file being used.

setPropertyFile

public void setPropertyFile(java.lang.String propertyFile)
Set the property file.

Specified by:
setPropertyFile in interface JBossESBPropertyServiceMBean
Parameters:
propertyFile - The name of the property file being used.

getBindAddress

@Deprecated
public static java.lang.String getBindAddress()
Deprecated. Use Configuration.getBindAddress().


createService

protected void createService()
                      throws java.lang.Exception
Create the property service.

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

setPropertiesFileDir

public void setPropertiesFileDir(java.lang.String directory)
Specified by:
setPropertiesFileDir in interface JBossESBPropertyServiceMBean