|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The Registry Interface is the main interface of the Registry Service. It contains three methods: publishService, removeService and query.
| Method Summary | |
void |
publishService(ServiceDescription service)
Publishes an Application Services in the Registry Service based on the given ServiceDescription. |
java.util.Vector |
query(Attribute[] attribute)
Queries the Registry Service and returns a Vector of ServiceDescription that meet certain criteria(attribute). |
void |
removeService(java.lang.String serviceURI)
Removes an Application Service from the Registry Service. |
| Method Detail |
public java.util.Vector query(Attribute[] attribute)
throws java.rmi.RemoteException
attribute - array of service descriptions
in a form of one or more Name/Value pairs
java.rmi.RemoteException - if an error occured
during the query of the serviceAttribute
public void publishService(ServiceDescription service)
throws java.rmi.RemoteException
service - object that is used for
description of existing service description
java.rmi.RemoteException - if an error occured
during the publishing of the serviceServiceDescription
public void removeService(java.lang.String serviceURI)
throws java.rmi.RemoteException
serviceURI - URI of the service that will be
remove(unregister) from registry
java.rmi.RemoteException - if an error occured
during the removing of the service description
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||