|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.services.binding.ServiceBindingManager
public class ServiceBindingManager
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.
| Field Summary |
|---|
| Fields inherited from interface org.jboss.services.binding.ServiceBindingManagerMBean |
|---|
OBJECT_NAME |
| Constructor Summary | |
|---|---|
ServiceBindingManager()
|
|
| Method Summary | |
|---|---|
void |
applyServiceConfig(javax.management.ObjectName serviceName)
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. |
String |
getServerName()
|
ServiceConfig |
getServiceConfig(javax.management.ObjectName serviceName)
Looks up the service config for the given service using the server name bound to this mbean. |
javax.management.ObjectName |
getServiceController()
Get the ObjectName of the ServiceController |
String |
getStoreFactoryClassName()
|
URL |
getStoreURL()
|
void |
postDeregister()
|
void |
postRegister(Boolean registrationDone)
|
void |
preDeregister()
|
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name)
|
void |
setServerName(String serverName)
The name of the server this manager is associated with. |
void |
setServiceController(javax.management.ObjectName serviceController)
Set the ObjectName of the ServiceController. |
void |
setStoreFactoryClassName(String storeFactoryClassName)
The name of the class implementation of the ServicesStoreFatory. |
void |
setStoreURL(URL storeURL)
Set the string representation of the store URL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceBindingManager()
| Method Detail |
|---|
public String getServerName()
getServerName in interface ServiceBindingManagerMBeanpublic void setServerName(String serverName)
ServiceBindingManagerMBean
setServerName in interface ServiceBindingManagerMBeanpublic String getStoreFactoryClassName()
getStoreFactoryClassName in interface ServiceBindingManagerMBeanpublic void setStoreFactoryClassName(String storeFactoryClassName)
ServiceBindingManagerMBean
setStoreFactoryClassName in interface ServiceBindingManagerMBeanpublic URL getStoreURL()
getStoreURL in interface ServiceBindingManagerMBeanpublic void setStoreURL(URL storeURL)
setStoreURL in interface ServiceBindingManagerMBeanpublic javax.management.ObjectName getServiceController()
getServiceController in interface ServiceBindingManagerMBean
public void setServiceController(javax.management.ObjectName serviceController)
throws Exception
setServiceController in interface ServiceBindingManagerMBeanserviceController - the name of the controller to register to
Exception - if there is a problem registering with the controller
public javax.management.ObjectName preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name)
throws Exception
preRegister in interface javax.management.MBeanRegistrationExceptionpublic void postRegister(Boolean registrationDone)
postRegister in interface javax.management.MBeanRegistration
public void preDeregister()
throws Exception
preDeregister in interface javax.management.MBeanRegistrationExceptionpublic void postDeregister()
postDeregister in interface javax.management.MBeanRegistration
public ServiceConfig getServiceConfig(javax.management.ObjectName serviceName)
throws Exception
getServiceConfig in interface ServiceBindingManagerMBeanserviceName - the JMX ObjectName of the service
Exception
public void applyServiceConfig(javax.management.ObjectName serviceName)
throws Exception
applyServiceConfig in interface org.jboss.system.ServiceBindingserviceName - the JMX ObjectName of the service
Exception, - thrown on failure to apply an existing configuration
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||