org.apache.cocoon.portal.pluto.factory
Class AbstractFactory

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.portal.pluto.factory.AbstractFactory
All Implemented Interfaces:
org.apache.pluto.factory.Factory, LogEnabled
Direct Known Subclasses:
ControllerFactoryImpl, ObjectIDFactoryImpl, PortletInvokerFactoryImpl, PortletPreferencesFactoryImpl

public abstract class AbstractFactory
extends AbstractLogEnabled
implements org.apache.pluto.factory.Factory

Abstract implementation for all factories.

Version:
$Id: AbstractFactory.java 325880 2005-10-17 11:57:44Z cziegeler $

Field Summary
protected  Map properties
          The properties.
protected  ServletConfig servletConfig
          The servlet config.
 
Constructor Summary
AbstractFactory()
           
 
Method Summary
 void destroy()
           
 void init(ServletConfig config, Map properties)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servletConfig

protected ServletConfig servletConfig
The servlet config.


properties

protected Map properties
The properties.

Constructor Detail

AbstractFactory

public AbstractFactory()
Method Detail

init

public void init(ServletConfig config,
                 Map properties)
          throws Exception
Specified by:
init in interface org.apache.pluto.factory.Factory
Throws:
Exception
See Also:
Factory.init(javax.servlet.ServletConfig, java.util.Map)

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface org.apache.pluto.factory.Factory
Throws:
Exception
See Also:
Factory.destroy()


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.