| java.lang.Object org.griphyn.cPlanner.transfer.refiner.RefinerFactory
RefinerFactory | public class RefinerFactory (Code) | | The factory class that loads an appropriate Transfer Refiner class,
as specified by the properties.
author: Karan Vahi version: $Revision: 50 $ |
Field Summary | |
final public static String | DEFAULT_PACKAGE_NAME The default package where the implementations reside, which this factory
loads. |
DEFAULT_PACKAGE_NAME | final public static String DEFAULT_PACKAGE_NAME(Code) | | The default package where the implementations reside, which this factory
loads.
|
loadInstance | public static Refiner loadInstance(PegasusProperties properties, ADag dag, PlannerOptions options) throws TransferRefinerFactoryException(Code) | | Loads the implementing class corresponding to the value specified in the
properties. If the package name is not specified with the class, then
class is assumed to be in the DEFAULT_PACKAGE. The properties object passed
should not be null.
In addition it ends up loading the appropriate Transfer Implementation
that is required by the refiner.
Parameters: properties - the PegasusProperties object containing allthe properties required by Pegasus. Parameters: dag - the workflow that is being refined. Parameters: options - the options with which the planner was invoked. the instance of the class implementing this interface. exception: TransferRefinerException - that nests any error thatmight occur during the instantiation. See Also: RefinerFactory.DEFAULT_PACKAGE_NAME |
loadInstance | public static Refiner loadInstance(String className, PegasusProperties properties, ADag dag, PlannerOptions options) throws TransferRefinerFactoryException(Code) | | Loads the implementing class corresponding to the class. If the package
name is not specified with the class, then class is assumed to be
in the DEFAULT_PACKAGE. The properties object passed should not be null.
In addition it ends up loading the appropriate Transfer Implementation
that is required by the refiner.
Parameters: className - the name of the class that implements the mode.It can orcannot be with the package name. Parameters: properties - the PegasusProperties object containing allthe properties required by Pegasus. Parameters: dag - the workflow that is being refined. Parameters: options - the options with which the planner was invoked. the instance of the class implementing this interface. exception: TransferRefinerFactoryException - that nests any error thatmight occur during the instantiation. See Also: RefinerFactory.DEFAULT_PACKAGE_NAME |
|
|