|
|||||||||||
PREV CLASS NEXT CLASS | 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(String serverName,
javax.management.ObjectName serviceName,
ServiceConfig serviceConfig)
Add a ServiceConfig to the store. |
ServiceConfig |
getService(String serverName,
javax.management.ObjectName serviceName)
Obtain a ServiceConfig object for the given server instance and target service JMX ObjectName. |
void |
load(URL storeURL)
Load the contents of a store. |
void |
removeService(String serverName,
javax.management.ObjectName serviceName)
Remove a service configuration from the store. |
void |
store(URL storeURL)
Save the current store contents |
Method Detail |
public void load(URL storeURL) throws Exception
storeURL
- the URL representing the location of the store
Exception
- thrown on any failure to load the storepublic void store(URL storeURL) throws Exception
storeURL
- the URL representing the location of the store
Exception
- thrown on any failure to save the storepublic ServiceConfig getService(String serverName, javax.management.ObjectName 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(String serverName, javax.management.ObjectName serviceName, ServiceConfig serviceConfig) throws DuplicateServiceException
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
- thrown if a configuration for the
public void removeService(String serverName, javax.management.ObjectName serviceName)
serverName
- the name identifying the JBoss server instance in
which the service is running.serviceName
- the JMX ObjectName of the service
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |