org.gridbus.broker.xpml
Class GridfileProcessor
java.lang.Object
|
+--org.gridbus.broker.xpml.ParameterProcessor
|
+--org.gridbus.broker.xpml.GridfileProcessor
- public class GridfileProcessor
- extends ParameterProcessor
- Author:
- krishna
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GridfileProcessor
public GridfileProcessor()
GridfileProcessor
public GridfileProcessor(org.dom4j.Element fragmentElement)
- Sets up the gridfile processor with the input element object
- Parameters:
fragmentElement -
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
getDataFileList
public java.util.Collection getDataFileList()
- Returns:
- Returns the dataFileList.
setDataFileList
public void setDataFileList(java.util.Collection dataFileList)
- Parameters:
dataFileList - The dataFileList to set.
getDataHostTable
public java.util.Hashtable getDataHostTable()
- Returns:
- Returns the dataHostTable.
setDataHostTable
public void setDataHostTable(java.util.Hashtable dataHostTable)
- Parameters:
dataHostTable - The dataHostTable to set.