com.sapportals.portal.prt.runtime
Class AbstractFactoryManager
java.lang.Object
|
+--com.sapportals.portal.prt.runtime.AbstractFactoryManager
- public class AbstractFactoryManager
- extends java.lang.Object
Abstract Factory Manager used to register Factory in the System.
It serves as a central point to get access to the Factory registred in the
System.
a Factory must derive from IAbstractFactory.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFactoryManager
public AbstractFactoryManager()
init
public void init()
- init.
getInstance
public static AbstractFactoryManager getInstance()
- provide the single instance of the ResourceManager class
get
public IAbstractFactory get(java.lang.String key)
- get a factory
- Parameters:
key - the of the factory
put
public void put(IAbstractFactory factory)
- put a factory
- Parameters:
factory - the factory to register.