|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface designed to provide a generic client-side view of a registry service.
Method Summary | |
boolean |
add(java.net.URL url,
org.w3c.dom.Document metadata)
Add a service to the registry. |
ServiceMetaData |
getServiceMetaData(java.net.URL url)
Get the meta data describing a specific service. |
java.net.URL[] |
getServices()
Obtain the URLs of all registered services. |
java.net.URL[] |
getServices(javax.xml.namespace.QName portType)
Obtain the URLs of all registered services that support a named port type. |
java.net.URL[] |
getServices(javax.xml.namespace.QName[] portTypes)
Obtain the URLs of all registered services that support a set of named port types. |
boolean |
remove(java.net.URL url)
Remove a service from the registry. |
Methods inherited from interface uk.org.ogsadai.client.toolkit.service.Service |
getResourceIDs, getURL, ping, setConnectionProperty, setResourceID |
Methods inherited from interface uk.org.ogsadai.client.toolkit.service.Properties |
getProperties, getProperty |
Method Detail |
public boolean add(java.net.URL url, org.w3c.dom.Document metadata) throws ServiceCommsException
url
- URL of the service to registermetadata
- An XML document containing information that the
service wishes to publish.
true
if the registration was successful
else false
.
ServiceCommsException
- if there is a problem communicating with the registry.public boolean remove(java.net.URL url) throws ServiceCommsException
url
- URL of the service to remove
true
if the removal was successful
else false
.
ServiceCommsException
- if there is a problem communicating with the registry.public java.net.URL[] getServices() throws ServiceCommsException
ServiceCommsException
- if there is a problem communicating with the registry.public java.net.URL[] getServices(javax.xml.namespace.QName portType) throws ServiceCommsException
portType
- Port type name.
ServiceCommsException
- if there is a problem communicating with the registry.public java.net.URL[] getServices(javax.xml.namespace.QName[] portTypes) throws ServiceCommsException
portTypes
- Port type names.
ServiceCommsException
- if there is a problem communicating with the registry.public ServiceMetaData getServiceMetaData(java.net.URL url) throws ServiceCommsException
url
- URL of the service if interest.
ServiceCommsException
- if there is a problem communicating with the registry.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |