org.apache.cocoon.components.modules.output
Class AbstractOutputModule

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLogEnabled
        |
        +--org.apache.cocoon.components.modules.output.AbstractOutputModule
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.logger.LogEnabled, OutputModule
Direct Known Subclasses:
RequestAttributeOutputModule, SessionAttributeOutputModule

public abstract class AbstractOutputModule
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements OutputModule, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.activity.Disposable

AbstractOutputModule gives you the infrastructure for easily deploying more output modules. In order to get at the Logger, use getLogger().

Version:
CVS $Id: AbstractOutputModule.java,v 1.2 2002/07/31 13:13:24 stephan Exp $
Author:
Christian Haul

Field Summary
protected  HashMap settings
          Stores (global) configuration parameters as key / value pairs.
 
Fields inherited from interface org.apache.cocoon.components.modules.output.OutputModule
ROLE
 
Constructor Summary
AbstractOutputModule()
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration conf)
          Configures the module.
 void dispose()
          dispose
 
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
 
Methods inherited from interface org.apache.cocoon.components.modules.output.OutputModule
commit, rollback, setAttribute
 

Field Detail

settings

protected HashMap settings
Stores (global) configuration parameters as key / value pairs.
Constructor Detail

AbstractOutputModule

public AbstractOutputModule()
Method Detail

configure

public void configure(org.apache.avalon.framework.configuration.Configuration conf)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Configures the module. Takes all elements nested in component declaration and stores them as key-value pairs in settings. Nested configuration option are not catered for. This way global configuration options can be used. For nested configurations override this function.
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable

dispose

public void dispose()
dispose
Specified by:
dispose in interface org.apache.avalon.framework.activity.Disposable


Copyright � 1999-2002 Apache Software Foundation. All Rights Reserved.