|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.catalog.site.impl.old.SiteFactory
public class SiteFactory
A factory class to load the appropriate implementation of Transformation Catalog as specified by properties.
| Field Summary | |
|---|---|
static String |
DEFAULT_PACKAGE_NAME
The default package where all the implementations reside. |
static int |
NON_SINGLETON_LOAD
|
static int |
SINGLETON_LOAD
Constants to specify how to load the class, as singleton or non singleton. |
static String |
TEXT_IMPLEMENTING_CLASS
The name of the class that connects to an multi line Text based Site Catalog. |
static String |
XML_IMPLEMENTING_CLASS
The name of the class that connects to an XML based Site Catalog. |
| Constructor Summary | |
|---|---|
SiteFactory()
|
|
| Method Summary | |
|---|---|
static PoolInfoProvider |
loadInstance(PegasusProperties properties,
boolean singleton)
Connects the interface with the site catalog implementation. |
| 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 int SINGLETON_LOAD
public static final int NON_SINGLETON_LOAD
public static final String XML_IMPLEMENTING_CLASS
public static final String TEXT_IMPLEMENTING_CLASS
| Constructor Detail |
|---|
public SiteFactory()
| Method Detail |
|---|
public static PoolInfoProvider loadInstance(PegasusProperties properties,
boolean singleton)
throws SiteFactoryException
properties - is an instance of properties to use.singleton - indicates whether to load the singleton implementation
to Site Catalog backend or not. It should be set to false
for portals.
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 | |||||||||