|
|||||||||||
| 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 metadata for a given 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 implement the specified port type |
java.net.URL[] |
getServices(javax.xml.namespace.QName[] portTypes)
Obtain the URLs of all registered services that implement a specific port type. |
boolean |
remove(java.net.URL url)
Remove a service from the registry |
| Methods inherited from interface uk.org.ogsadai.client.toolkit.service.Service |
getConnectionProperty, getPortTypes, getResourceIDs, getURL, ping, setConnectionProperty, setResourceID |
| Methods inherited from interface uk.org.ogsadai.client.toolkit.service.Properties |
getProperties, getProperty, getPropertyNames |
| 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
ServiceCommsException
public boolean remove(java.net.URL url)
throws ServiceCommsException
url - URL of the service to remove
ServiceCommsException
public java.net.URL[] getServices()
throws ServiceCommsException,
DataFormatException
ServiceCommsException
DataFormatException
public java.net.URL[] getServices(javax.xml.namespace.QName portType)
throws ServiceCommsException,
DataFormatException
portType - name of a port type
ServiceCommsException
DataFormatException
public java.net.URL[] getServices(javax.xml.namespace.QName[] portTypes)
throws ServiceCommsException,
DataFormatException
portTypes - a list of port type names
ServiceCommsException
DataFormatException
public ServiceMetaData getServiceMetaData(java.net.URL url)
throws ServiceCommsException,
DataFormatException
url - URL of the service
ServiceCommsException
DataFormatException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||