org.glite.rgma
Interface Registry

All Superinterfaces:
Service

public interface Registry
extends Service

Admin API for the Registry.


Method Summary
 void createRegistry(java.lang.String vdbName, java.lang.String registryService)
          Creates a Registry instance for the given VDB on the specified service.
 void destroyRegistry(java.lang.String vdbName, java.lang.String registryService)
          Removes the Registry instance for the given VDB from the specified service.
 ProducerTableEntryList getAllProducersForTable(java.lang.String vdbName, java.lang.String tableName)
          Returns a list of all producers, with their registered information.
 
Methods inherited from interface org.glite.rgma.Service
getProperty, getVersion, setProperty
 

Method Detail

createRegistry

void createRegistry(java.lang.String vdbName,
                    java.lang.String registryService)
                    throws RGMAException,
                           RemoteException
Creates a Registry instance for the given VDB on the specified service.

Parameters:
vdbName - The VDB that owns the Registry instance.
registryService - Registry service URL.
Throws:
RemoteException - If the service can not be contacted.
RGMAException - If the vdbName or registryService are invalid.

destroyRegistry

void destroyRegistry(java.lang.String vdbName,
                     java.lang.String registryService)
                     throws RGMAException,
                            RemoteException
Removes the Registry instance for the given VDB from the specified service.

Parameters:
vdbName - The VDB that owns the Registry instance.
registryService - Registry service URL.
Throws:
RemoteException - If the service can not be contacted.
RGMAException - If the Registry instance can not be removed or does not exist.

getAllProducersForTable

ProducerTableEntryList getAllProducersForTable(java.lang.String vdbName,
                                               java.lang.String tableName)
                                               throws RGMAException,
                                                      RemoteException
Returns a list of all producers, with their registered information.

Parameters:
vdbName - Name of VDB from which to find producers.
tableName - Name of table
Returns:
A list of ProducerTableEntry objects, one for each producer.
Throws:
RemoteException - If the service could not be contacted.
RGMAException - If an error occurs while carrying out the request by the Registry.