public class FactoryManagerServiceImpl extends FactoryManagerService
Factory
and implement the
init()
and destroy()
methods as appropriate.Factory
Constructor and Description |
---|
FactoryManagerServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
destroy(javax.servlet.ServletConfig config)
Destroys all services.
|
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. |
protected void |
init(javax.servlet.ServletConfig config,
Properties aProperties)
Initializes all factories specified in the configuration beginning with 'factory.'.
|
protected void init(javax.servlet.ServletConfig config, Properties aProperties) throws java.lang.Exception
protected void destroy(javax.servlet.ServletConfig config)
public 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
getFactory
in class FactoryManagerService
theClass
- the service classCopyright © 2003-2013 . All Rights Reserved.