at.ac.univie.iss.registry
Interface Registry


public interface Registry

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

query

public java.util.Vector query(Attribute[] attribute)
                       throws java.rmi.RemoteException
Queries the Registry Service and returns a Vector of ServiceDescription that meet certain criteria(attribute).

Parameters:
attribute - array of service descriptions in a form of one or more Name/Value pairs
Throws:
java.rmi.RemoteException - if an error occured during the query of the service
See Also:
Attribute

publishService

public void publishService(ServiceDescription service)
                    throws java.rmi.RemoteException
Publishes an Application Services in the Registry Service based on the given ServiceDescription.

Parameters:
service - object that is used for description of existing service description
Throws:
java.rmi.RemoteException - if an error occured during the publishing of the service
See Also:
ServiceDescription

removeService

public void removeService(java.lang.String serviceURI)
                   throws java.rmi.RemoteException
Removes an Application Service from the Registry Service.

Parameters:
serviceURI - URI of the service that will be remove(unregister) from registry
Throws:
java.rmi.RemoteException - if an error occured during the removing of the service description


Copyright 2004 Institute for Software Science.