|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.catalog.site.SiteFactory
public class SiteFactory
A factory class to load the appropriate implementation of Site Catalog as specified by properties.
| Field Summary | |
|---|---|
static String |
DEFAULT_PACKAGE_NAME
The default package where all the implementations reside. |
| Constructor Summary | |
|---|---|
SiteFactory()
|
|
| Method Summary | |
|---|---|
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)
|
| 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
| Constructor Detail |
|---|
public SiteFactory()
| Method Detail |
|---|
public static SiteStore loadSiteStore(Collection<String> sites,
PegasusBag bag)
sites - bag - the bag of pegasus objects
public 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||