org.glite.rgma
Interface RegistryFactory


public interface RegistryFactory

Factory to create RegistryAdmin instances.


Method Summary
 Registry createRegistry()
          Create an object that implements Registry and connects to an automatically selected RegistryService.
 void setConfigFileName(java.lang.String configFileName)
          Sets the name of the config file to be used.
 

Method Detail

createRegistry

public Registry createRegistry()
                        throws RGMAException
Create an object that implements Registry and connects to an automatically selected RegistryService.

Returns:
A Registry object.
Throws:
RGMAException - If a new Registry cannot be created.

setConfigFileName

public void setConfigFileName(java.lang.String configFileName)
                       throws RGMAException
Sets the name of the config file to be used.

Parameters:
configFileName - Name of configuration file.
Throws:
RGMAException - If the file can not be read.