|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.services.binding.XMLServicesStore
XML implementation of ServicesStore.
Reads/writes/manages the XML config file for the ServiceBinding Manager module
| Constructor Summary | |
XMLServicesStore()
|
|
| Method Summary | |
void |
addService(java.lang.String serverName,
ObjectName (src) serviceName,
ServiceConfig (src) config)
This method is not usable in this implementation as XMLServiceStore is read-only |
ServiceConfig (src) |
getService(java.lang.String serverName,
ObjectName (src) serviceName)
Looks up a service, by server name and service name. |
void |
load(java.net.URL cfgURL)
Loads XML config file into memory and parses it into ServiceConfig objects. |
void |
removeService(java.lang.String serverName,
ObjectName (src) serviceName)
This method is not usable in this implementation as XMLServiceStore is read-only |
void |
store(java.net.URL cfgURL)
Store is a noop as this is a read-only store |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLServicesStore()
| Method Detail |
public void addService(java.lang.String serverName,
ObjectName (src) serviceName,
ServiceConfig (src) config)
throws DuplicateServiceException (src)
addService in interface ServicesStore (src) serverName - serviceName - config -
DuplicateServiceException (src) - never thrown
UnsupportedOperationException("XMLServiceStore - is read-only") always thrown
public ServiceConfig (src) getService(java.lang.String serverName,
ObjectName (src) serviceName)
getService in interface ServicesStore (src) serverName - The name of the server in the config fileserviceName - The name of the service (i.e. the JMX object name)
public void removeService(java.lang.String serverName,
ObjectName (src) serviceName)
removeService in interface ServicesStore (src) serverName - serviceName -
UnsupportedOperationException("XMLServiceStore - is read-only") always thrown
public void load(java.net.URL cfgURL)
throws java.lang.Exception
load in interface ServicesStore (src) cfgURL - the URL representing the location of the store
java.lang.Exception - on any parse error
public void store(java.net.URL cfgURL)
throws java.lang.Exception
store in interface ServicesStore (src) cfgURL - the URL representing the location of the store
java.lang.Exception - thrown on any failure to save the store
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||