org.glite.rgma
Interface SchemaFactory


public interface SchemaFactory

Factory to create Schema instances.


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

Method Detail

createSchema

public Schema createSchema()
                    throws RGMAException
Create an object that implements Schema and connects to an automatically selected SchemaService.

Returns:
A Schema object.
Throws:
RGMAException - If a new Schema 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.