|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServicesStore
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 |
|---|
void load(URL storeURL)
throws Exception
storeURL - the URL representing the location of the store
Exception - thrown on any failure to load the store
void store(URL storeURL)
throws Exception
storeURL - the URL representing the location of the store
Exception - thrown on any failure to save the store
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
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
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 | |||||||||