edu.isi.pegasus.planner.catalog.site
public class SiteFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PACKAGE_NAME
The default package where all the implementations reside.
|
private static String |
OLD_XML3_IMPLEMENTING_CLASS_BASENAME
The name of old XML3 implementation class.
|
private static String |
XML_IMPLEMENTING_CLASS_BASENAME
For 4.2, the orginal XML3 class was renamed XML and it supports different
schemas.
|
Constructor and Description |
---|
SiteFactory() |
Modifier and Type | Method and Description |
---|---|
static SiteCatalog |
loadInstance()
Connects the interface with the transformation catalog implementation.
|
static SiteCatalog |
loadInstance(PegasusProperties properties)
Connects the interface with the site catalog implementation.
|
private static SiteCatalog |
loadInstance(String catalogImplementor,
Properties properties)
Connects the interface with the site catalog implementation.
|
static SiteStore |
loadSiteStore(Collection<String> sites,
PegasusBag bag) |
public static final String DEFAULT_PACKAGE_NAME
private static final String OLD_XML3_IMPLEMENTING_CLASS_BASENAME
private static final String XML_IMPLEMENTING_CLASS_BASENAME
public static SiteStore loadSiteStore(Collection<String> sites, PegasusBag bag)
sites
- bag
- the bag of pegasus objectspublic static SiteCatalog loadInstance() throws SiteFactoryException
SiteFactoryException
- that nests any error that
might occur during the instantiationDEFAULT_PACKAGE_NAME
public static SiteCatalog loadInstance(PegasusProperties properties) throws SiteFactoryException
properties
- is an instance of properties to use.SiteFactoryException
- that nests any error that
might occur during the instantiationDEFAULT_PACKAGE_NAME
private static SiteCatalog loadInstance(String catalogImplementor, Properties properties)
catalogImplementor
- the name of the class implementing catalogproperties
- the connection properties.SiteFactoryException
- that nests any error that
might occur during the instantiationDEFAULT_PACKAGE_NAME