|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pluto.portalImpl.services.factorymanager.FactoryManager
public class FactoryManager
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.
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 |
---|
public FactoryManager()
Method Detail |
---|
public static org.apache.pluto.factory.Factory getFactory(java.lang.Class theClass)
null
if no such service is registered.
theClass
- the service class
public static FactoryManagerService getService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |