org.apache.pluto.portalImpl.services.factorymanager
Class FactoryManager

java.lang.Object
  extended byorg.apache.pluto.portalImpl.services.factorymanager.FactoryManager

public class FactoryManager
extends java.lang.Object

Manages the life-time of factories registered during container startup. A service has to derive from Factory and implement the init() and destroy() methods as appropriate.

See Also:
Factory

Constructor Summary
FactoryManager()
           
 
Method Summary
static org.apache.pluto.factory.Factory getFactory(java.lang.Class theClass)
          Returns the service implementation for the given service class, or null if no such service is registered.
static FactoryManagerService getService()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactoryManager

public FactoryManager()
Method Detail

getFactory

public static org.apache.pluto.factory.Factory getFactory(java.lang.Class theClass)
Returns the service implementation for the given service class, or null if no such service is registered.

Parameters:
theClass - the service class
Returns:
the service implementation

getService

public static FactoryManagerService getService()


Copyright © 2003-2006 . All Rights Reserved.