| |
|
| java.lang.Object org.jboss.services.binding.ServiceBindingManager
ServiceBindingManager | public class ServiceBindingManager implements MBeanRegistration,ServiceBindingManagerMBean(Code) | | The services configuration binding manager mbean implementation.
The ServiceBindingManager enables the centralized management
of ports, by service. The port configuration store is abstracted out
using the ServicesStore and ServicesStoreFactory interfaces. Note that
this class does not implement the JBoss services lifecycle methods
and hook its behavior off of those because this service is used to
configure other services before any of the lifecycle methods are invoked.
version: $Revision: 57210 $ author: Mike Finn author: Scott.Stark@jboss.org author: Dimitris Andreadis |
applyServiceConfig | public void applyServiceConfig(ObjectName serviceName) throws Exception(Code) | | Looks up the service config for the requested service using the
server name bound to this mbean and invokes the configuration delegate
to apply the bindings to the service. If no config if found then this
method is a noop.
Parameters: serviceName - the JMX ObjectName of the service exception: Exception - , thrown on failure to apply an existing configuration |
getServiceConfig | public ServiceConfig getServiceConfig(ObjectName serviceName) throws Exception(Code) | | Looks up the service config for the given service using the
server name bound to this mbean.
Parameters: serviceName - the JMX ObjectName of the service ServiceConfig instance if found, null otherwise |
getServiceController | public ObjectName getServiceController()(Code) | | Get the ObjectName of the ServiceController
|
getStoreFactoryClassName | public String getStoreFactoryClassName()(Code) | | |
postDeregister | public void postDeregister()(Code) | | |
postRegister | public void postRegister(Boolean registrationDone)(Code) | | |
setServerName | public void setServerName(String serverName)(Code) | | |
setServiceController | public void setServiceController(ObjectName serviceController) throws Exception(Code) | | Set the ObjectName of the ServiceController.
Parameters: serviceController - the name of the controller to register to throws: Exception - if there is a problem registering with the controller |
setStoreFactoryClassName | public void setStoreFactoryClassName(String storeFactoryClassName)(Code) | | |
setStoreURL | public void setStoreURL(URL storeURL)(Code) | | Set the string representation of the store URL
|
|
|
|