public class SiteSelectorFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PACKAGE_NAME
The default package where the all the implementing classes provided with
the VDS reside.
|
static String |
DEFAULT_SITE_SELECTOR
The name of the class in the DEFAULT package, that corresponds to the
default site selector.
|
| Constructor and Description |
|---|
SiteSelectorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static SiteSelector |
loadInstance(edu.isi.pegasus.planner.classes.PegasusBag bag)
Loads the implementing class corresponding to the mode specified by the user
at runtime in the properties file.
|
public static final String DEFAULT_PACKAGE_NAME
public static final String DEFAULT_SITE_SELECTOR
public static SiteSelector loadInstance(edu.isi.pegasus.planner.classes.PegasusBag bag) throws SiteSelectorFactoryException
bag - the bag of objects that is required.SiteSelectorFactoryException - that chains any error that
might occur during the instantiationDEFAULT_PACKAGE_NAME,
DEFAULT_SITE_SELECTOR