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

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

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

Abstract implementation for all factories

Version:
CVS $Id: AbstractFactory.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

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

destroy

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


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.