org.apache.cocoon.components.modules.input
Class AbstractInputModule
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLogEnabled
|
+--org.apache.cocoon.components.modules.input.AbstractInputModule
- All Implemented Interfaces:
- org.apache.avalon.framework.component.Component, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.activity.Disposable, InputModule, org.apache.avalon.framework.logger.LogEnabled
- Direct Known Subclasses:
- AbstractJXPathModule, AbstractMetaModule, DateInputModule, HeaderAttributeModule, NullInputModule, RandomNumberModule, RequestAttributeModule, RequestContextPathModule, RequestParameterModule, RequestURIModule, SessionAttributeModule, StringConstantModule
- public abstract class AbstractInputModule
- extends org.apache.avalon.framework.logger.AbstractLogEnabled
- implements InputModule, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.activity.Disposable
AbstractInputModule gives you the infrastructure for easily
deploying more InputModules. In order to get at the Logger, use
getLogger().
- Version:
- CVS $Id: AbstractInputModule.java,v 1.2.4.1 2002/11/17 19:12:49 haul 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.input.InputModule |
ROLE |
Method Summary |
void |
configure(org.apache.avalon.framework.configuration.Configuration conf)
Configures the database access helper.
|
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 |
settings
protected HashMap settings
- Stores (global) configuration parameters as
key
/
value
pairs.
AbstractInputModule
public AbstractInputModule()
configure
public void configure(org.apache.avalon.framework.configuration.Configuration conf)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Configures the database access helper.
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.