This project has retired. For details please refer to its
Attic page .
AbstractAutoIncrementModule (Cocoon Database Block Implementation 1.0.0 API)
org.apache.cocoon.components.modules.database
Class AbstractAutoIncrementModule
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.components.modules.database.AbstractAutoIncrementModule
All Implemented Interfaces: AutoIncrementModule , Configurable , Disposable
Direct Known Subclasses: ManualAutoIncrementModule
public abstract class AbstractAutoIncrementModule extends org.apache.cocoon.util.AbstractLogEnabledimplements AutoIncrementModule , Configurable , Disposable
AbstractDatabaseModule gives you the infrastructure for easily
deploying more AutoIncrementModules. In order to get at the Logger, use
getLogger().
Version:
$Id: AbstractAutoIncrementModule.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Field Summary
protected org.apache.cocoon.util.HashMap
settings
Stores (global) configuration parameters as key
/
value
pairs.
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled
getLogger, setLogger
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
settings
protected org.apache.cocoon.util.HashMap settings
Stores (global) configuration parameters as key
/
value
pairs.
AbstractAutoIncrementModule
public AbstractAutoIncrementModule ()
configure
public void configure (Configuration conf)
throws ConfigurationException
Configures the database access 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 Configurable
Throws:
ConfigurationException
dispose
public void dispose ()
dispose
Specified by: dispose
in interface Disposable
Copyright © 1999-2008 The Apache Software Foundation . All Rights Reserved.