org.apache.cocoon.core.container.handler
Class AbstractFactoryHandler
java.lang.Object
org.apache.cocoon.core.container.handler.AbstractComponentHandler
org.apache.cocoon.core.container.handler.AbstractFactoryHandler
- All Implemented Interfaces:
- ComponentHandler
- Direct Known Subclasses:
- NonThreadSafePoolableComponentHandler, SingleThreadedComponentHandler, ThreadSafeComponentHandler
- public abstract class AbstractFactoryHandler
- extends AbstractComponentHandler
This class acts like a Factory to instantiate the correct version
of the component handler that you need.
- Since:
- 2.2
- Version:
- $Id: AbstractFactoryHandler.java 312637 2005-10-10 13:00:42Z cziegeler $
Methods inherited from class org.apache.cocoon.core.container.handler.AbstractComponentHandler |
canBeDisposed, dispose, doGet, doInitialize, doPut, get, getComponentHandler, getComponentHandler, getInfo, initialize, isSingleton, put |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
protected final ComponentFactory factory
- This factory is used to created new objects
AbstractFactoryHandler
public AbstractFactoryHandler(ComponentInfo info,
Logger logger,
ComponentFactory factory)
- Creates a new ComponentHandler.
decommission
protected void decommission(Object component)
- Decommission a component
- Parameters:
component
- Object to be decommissioned
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.