|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for API to persist, read, and look up service configs
| Method Summary | |
void |
addService(java.lang.String serverName,
ObjectName (src) serviceName,
ServiceConfig (src) serviceConfig)
Add a ServiceConfig to the store. |
ServiceConfig (src) |
getService(java.lang.String serverName,
ObjectName (src) serviceName)
Obtain a ServiceConfig object for the given server instance and target service JMX ObjectName. |
void |
load(java.net.URL storeURL)
Load the contents of a store. |
void |
removeService(java.lang.String serverName,
ObjectName (src) serviceName)
Remove a service configuration from the store. |
void |
store(java.net.URL storeURL)
Save the current store contents |
| Method Detail |
public void load(java.net.URL storeURL)
throws java.lang.Exception
storeURL - the URL representing the location of the store
java.lang.Exception - thrown on any failure to load the store
public void store(java.net.URL storeURL)
throws java.lang.Exception
storeURL - the URL representing the location of the store
java.lang.Exception - thrown on any failure to save the store
public ServiceConfig (src) getService(java.lang.String serverName,
ObjectName (src) serviceName)
serverName - the name identifying the JBoss server instance in
which the service is running.serviceName - the JMX ObjectName of the service
public void addService(java.lang.String serverName,
ObjectName (src) serviceName,
ServiceConfig (src) serviceConfig)
throws DuplicateServiceException (src)
serverName - the name identifying the JBoss server instance in
which the service is running.serviceName - the JMX ObjectName of the serviceserviceConfig - the configuration to add
DuplicateServiceException (src) - thrown if a configuration for the
public void removeService(java.lang.String serverName,
ObjectName (src) serviceName)
serverName - the name identifying the JBoss server instance in
which the service is running.serviceName - the JMX ObjectName of the service
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||