|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.transfer.refiner.RefinerFactory
public class RefinerFactory
The factory class that loads an appropriate Transfer Refiner class, as specified by the properties.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
RefinerFactory()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_PACKAGE_NAME
public static final String DEFAULT_REFINER_IMPLEMENTATION
| Constructor Detail |
|---|
public RefinerFactory()
| Method Detail |
|---|
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 objects
TransferRefinerException - that nests any error that
might occur during the instantiation.
TransferRefinerFactoryExceptionDEFAULT_PACKAGE_NAME
public 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||