|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pluto.portalImpl.services.Service
org.apache.pluto.portalImpl.services.factorymanager.FactoryManagerService
public abstract class FactoryManagerService
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 | |
---|---|
FactoryManagerService()
|
Method Summary | |
---|---|
abstract 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. |
Methods inherited from class org.apache.pluto.portalImpl.services.Service |
---|
destroy, destroy, init, init, init, postInit, postInit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FactoryManagerService()
Method Detail |
---|
public abstract org.apache.pluto.factory.Factory getFactory(java.lang.Class theClass)
null
if no such service is registered.
getFactory
in interface org.apache.pluto.services.factory.FactoryManagerService
theClass
- the service class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |