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.


Constructor Summary
AbstractFactoryManager()
           
 
Method Summary
 IAbstractFactory get(java.lang.String key)
          get a factory
static AbstractFactoryManager getInstance()
          provide the single instance of the ResourceManager class
 void init()
          init.
 void put(IAbstractFactory factory)
          put a factory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFactoryManager

public AbstractFactoryManager()
Method Detail

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.