| |
|
| java.lang.Object org.griphyn.cPlanner.poolinfo.SiteFactory
SiteFactory | public class SiteFactory (Code) | | A factory class to load the appropriate implementation of Transformation
Catalog as specified by properties.
author: Karan Vahi version: $Revision: 50 $ |
DEFAULT_PACKAGE_NAME | final public static String DEFAULT_PACKAGE_NAME(Code) | | The default package where all the implementations reside.
|
NON_SINGLETON_LOAD | final public static int NON_SINGLETON_LOAD(Code) | | |
SINGLETON_LOAD | final public static int SINGLETON_LOAD(Code) | | Constants to specify how to load the class, as singleton or non singleton.
|
TEXT_IMPLEMENTING_CLASS | final public static String TEXT_IMPLEMENTING_CLASS(Code) | | The name of the class that connects to an multi line Text based Site Catalog.
|
XML_IMPLEMENTING_CLASS | final public static String XML_IMPLEMENTING_CLASS(Code) | | The name of the class that connects to an XML based Site Catalog.
|
loadInstance | public static PoolInfoProvider loadInstance(PegasusProperties properties, boolean singleton) throws SiteFactoryException(Code) | | Connects the interface with the site catalog implementation. The
choice of backend is configured through properties. This class is
useful for non-singleton instances that may require changing
properties.
Parameters: properties - is an instance of properties to use. Parameters: singleton - indicates whether to load the singleton implementationto Site Catalog backend or not. It should be set to falsefor portals. handle to the Site Catalog. throws: SiteFactoryException - that nests any error thatmight occur during the instantiation See Also: SiteFactory.DEFAULT_PACKAGE_NAME |
|
|
|