Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

glite::rgma::Registry Class Reference

#include <Registry.h>

Inheritance diagram for glite::rgma::Registry:

glite::rgma::ResourceImpl glite::rgma::Resource List of all members.

Static Public Member Functions

void destroyRegistry (std::string vdbName, std::string registryService) throw (RGMAException, RemoteException)
void createRegistry (std::string vdbName, std::string registryService) throw (RGMAException, RemoteException)
ProducerTableEntryList getAllProducersForTable (std::string vdbName, std::string tableName) throw ( RGMAException, RemoteException )
std::string getVersion () throw (RemoteException)
std::string getProperty (std::string name, std::string parameter) throw (RemoteException, RGMAException)
std::string getProperty (std::string name) throw (RemoteException, RGMAException)
void setProperty (std::string name, std::string value, std::string parameter) throw (RemoteException, RGMAException)
void setProperty (std::string name, std::string value) throw (RemoteException, RGMAException)

Detailed Description

Admin API for the Registry.


Member Function Documentation

void glite::rgma::Registry::createRegistry std::string  vdbName,
std::string  registryService
throw (RGMAException, RemoteException) [static]
 

Creates a Registry instance for the given VDB. Request is forwarded to registryService for processing.

Parameters:
vdbName The VDB that owns the Registry instance.
registryService Registry service URL.
Exceptions:
RemoteException If the service can not be contacted.
RGMAException 

void glite::rgma::Registry::destroyRegistry std::string  vdbName,
std::string  registryService
throw (RGMAException, RemoteException) [static]
 

Removes the Registry instance for the given VO. Request is forwarded to registryService for processing.

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

ProducerTableEntryList glite::rgma::Registry::getAllProducersForTable std::string  vdbName,
std::string  tableName
throw ( RGMAException, RemoteException ) [static]
 

Returns a list of all producers, with their details, for use by the Browser (or other admin) applications.

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

std::string glite::rgma::Registry::getProperty std::string  name  )  throw (RemoteException, RGMAException) [static]
 

Gets the value of the specified service property.

Parameters:
name Name of property.
Returns:
Current value of property.
Exceptions:
RemoteException If the service could not be contacted.
RGMAException If the name/parameter combination is invalid.

std::string glite::rgma::Registry::getProperty std::string  name,
std::string  parameter
throw (RemoteException, RGMAException) [static]
 

Gets the value of the specified service property.

Parameters:
name Name of property.
parameter Parameter to property
Returns:
Current value of property.
Exceptions:
RemoteException If the service could not be contacted.
RGMAException If the name/parameter combination is invalid.

std::string glite::rgma::Registry::getVersion  )  throw (RemoteException) [static]
 

Gets the version of this implementation.

Returns:
The version number.
Exceptions:
RemoteException If the service could not be contacted.

void glite::rgma::Registry::setProperty std::string  name,
std::string  value
throw (RemoteException, RGMAException) [static]
 

Changes the value of the specified service property.

Parameters:
name Name of property.
value New value of property.
Exceptions:
RemoteException If the service could not be contacted.
RGMAException If the name/parameter combination is invalid.

void glite::rgma::Registry::setProperty std::string  name,
std::string  value,
std::string  parameter
throw (RemoteException, RGMAException) [static]
 

Changes the value of the specified service property.

Parameters:
name Name of property.
value New value of property.
parameter Parameter to property
Exceptions:
RemoteException If the service could not be contacted.
RGMAException If the name/parameter combination is invalid.


The documentation for this class was generated from the following files:
Generated on Wed May 17 17:48:18 2006 for glite-rgma-api-cpp by doxygen 1.3.5