edu.isi.pegasus.planner.transfer.refiner
public class RefinerFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PACKAGE_NAME
The default package where the implementations reside, which this factory
loads.
|
static String |
DEFAULT_REFINER_IMPLEMENTATION
The default refiner implementation that is picked up.
|
| Constructor and Description |
|---|
RefinerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Refiner |
loadInstance(ADag dag,
PegasusBag bag)
Loads the implementing class corresponding to the value specified in the
properties.
|
static Refiner |
loadInstance(String className,
PegasusBag bag,
ADag dag)
Loads the implementing class corresponding to the class.
|
public static final String DEFAULT_PACKAGE_NAME
public static final String DEFAULT_REFINER_IMPLEMENTATION
public static Refiner loadInstance(ADag dag, PegasusBag bag) throws TransferRefinerFactoryException
In addition it ends up loading the appropriate Transfer Implementation that is required by the refiner.
dag - the workflow that is being refined.bag - the bag of initialization objectsTransferRefinerException - that nests any error that
might occur during the instantiation.TransferRefinerFactoryExceptionDEFAULT_PACKAGE_NAMEpublic static Refiner loadInstance(String className, PegasusBag bag, ADag dag) throws TransferRefinerFactoryException
className - the name of the class that implements the mode.It can or
cannot be with the package name.bag - the bag of initialization objectsdag - the workflow that is being refined.TransferRefinerFactoryException - that nests any error that
might occur during the instantiation.DEFAULT_PACKAGE_NAME