org.gridbus.broker.xpml
Class GridfileProcessor

java.lang.Object
  extended by org.gridbus.broker.xpml.ParameterProcessor
      extended by org.gridbus.broker.xpml.GridfileProcessor

public class GridfileProcessor
extends ParameterProcessor

Author:
krishna

Constructor Summary
GridfileProcessor()
           
GridfileProcessor(org.dom4j.Element fragmentElement)
          Sets up the gridfile processor with the input element object
 
Method Summary
 java.lang.Object extractGridfile()
          Extracts and returns the parameters in the xml file as objects This function is meant for Dynamic Parameters.
 
Methods inherited from class org.gridbus.broker.xpml.ParameterProcessor
extractParameter, getDataFileList, getDataHostTable, setServices
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridfileProcessor

public GridfileProcessor()

GridfileProcessor

public GridfileProcessor(org.dom4j.Element fragmentElement)
Sets up the gridfile processor with the input element object

Parameters:
fragmentElement -
Method Detail

extractGridfile

public java.lang.Object extractGridfile()
Extracts and returns the parameters in the xml file as objects This function is meant for Dynamic Parameters. Users will have to write their own class, that extends this ParameterProcessor class. This function will use reflection to invoke that class based on the variable name. A standard method (i.e. fixed method name) must be defined in that class to do the processing of the Gridfile parameter. The FileResolver subclasses are expected to be in the org.gridbus.broker.util package. Currently the possibilities are: SrbFileResolver, LfnFileResolver.

Returns:
ListVariable