public class SiteFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PACKAGE_NAME
The default package where all the implementations reside.
|
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.
|
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
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
public 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
Copyright © 2011 The University of Southern California. All Rights Reserved.