|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.services.binding.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.
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. |
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)
|
void |
setStoreFactoryClassName(String storeFactoryClassName)
|
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 ServiceBindingManagerMBean
public void setServerName(String serverName)
setServerName
in interface ServiceBindingManagerMBean
public String getStoreFactoryClassName()
getStoreFactoryClassName
in interface ServiceBindingManagerMBean
public void setStoreFactoryClassName(String storeFactoryClassName)
setStoreFactoryClassName
in interface ServiceBindingManagerMBean
public URL getStoreURL()
getStoreURL
in interface ServiceBindingManagerMBean
public void setStoreURL(URL storeURL)
setStoreURL
in interface ServiceBindingManagerMBean
public javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name) throws Exception
preRegister
in interface javax.management.MBeanRegistration
Exception
public void postRegister(Boolean registrationDone)
postRegister
in interface javax.management.MBeanRegistration
public void preDeregister() throws Exception
preDeregister
in interface javax.management.MBeanRegistration
Exception
public void postDeregister()
postDeregister
in interface javax.management.MBeanRegistration
public ServiceConfig getServiceConfig(javax.management.ObjectName serviceName) throws Exception
getServiceConfig
in interface ServiceBindingManagerMBean
serviceName
- the JMX ObjectName of the service
Exception
public void applyServiceConfig(javax.management.ObjectName serviceName) throws Exception
applyServiceConfig
in interface ServiceBindingManagerMBean
serviceName
- 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 |