org.apache.cocoon.acting
Class AbstractComplementaryConfigurableAction

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLoggable
        |
        +--org.apache.cocoon.acting.AbstractAction
              |
              +--org.apache.cocoon.acting.AbstractConfigurableAction
                    |
                    +--org.apache.cocoon.acting.ConfigurableComposerAction
                          |
                          +--org.apache.cocoon.acting.AbstractComplementaryConfigurableAction
All Implemented Interfaces:
Action, org.apache.avalon.framework.component.Component, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.Loggable
Direct Known Subclasses:
AbstractDatabaseAction, AbstractValidatorAction, DatabaseAction

public abstract class AbstractComplementaryConfigurableAction
extends ConfigurableComposerAction

Set up environment for configurable form handling data. This group of actions are unique in that they employ a terciary mapping. Each configuration file must use the same format in order to be effective. The name of the root configuration element is irrelevant.

Version:
CVS $Id: AbstractComplementaryConfigurableAction.java,v 1.7.2.1 2002/08/25 09:12:09 haul Exp $
Author:
Berin Loritsch

Fields inherited from class org.apache.cocoon.acting.ConfigurableComposerAction
manager
 
Fields inherited from class org.apache.cocoon.acting.AbstractConfigurableAction
settings
 
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
 
Fields inherited from interface org.apache.cocoon.acting.Action
ROLE
 
Constructor Summary
AbstractComplementaryConfigurableAction()
           
 
Method Summary
protected  org.apache.avalon.framework.configuration.Configuration getConfiguration(java.lang.String descriptor)
          Set up the complementary configuration file.
protected  org.apache.avalon.framework.configuration.Configuration getConfiguration(java.lang.String descriptor, boolean reloadable)
          Deprecated. please use the getConfiguration(String, SourceResolver, boolean) version of this method instead.
protected  org.apache.avalon.framework.configuration.Configuration getConfiguration(java.lang.String descriptor, SourceResolver resolver, boolean reloadable)
          Set up the complementary configuration file.
 
Methods inherited from class org.apache.cocoon.acting.ConfigurableComposerAction
compose
 
Methods inherited from class org.apache.cocoon.acting.AbstractConfigurableAction
configure
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable
getLogger, setLogger, 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.acting.Action
act
 

Constructor Detail

AbstractComplementaryConfigurableAction

public AbstractComplementaryConfigurableAction()
Method Detail

getConfiguration

protected org.apache.avalon.framework.configuration.Configuration getConfiguration(java.lang.String descriptor)
                                                                            throws org.apache.avalon.framework.configuration.ConfigurationException
Set up the complementary configuration file. Please note that multiple Actions can share the same configurations. By using this approach, we can limit the number of config files. Also note that the configuration file does not have to be a file. Defaults to reload configuration file it has changed.

getConfiguration

protected org.apache.avalon.framework.configuration.Configuration getConfiguration(java.lang.String descriptor,
                                                                                   boolean reloadable)
                                                                            throws org.apache.avalon.framework.configuration.ConfigurationException
Deprecated. please use the getConfiguration(String, SourceResolver, boolean) version of this method instead.


getConfiguration

protected org.apache.avalon.framework.configuration.Configuration getConfiguration(java.lang.String descriptor,
                                                                                   SourceResolver resolver,
                                                                                   boolean reloadable)
                                                                            throws org.apache.avalon.framework.configuration.ConfigurationException
Set up the complementary configuration file. Please note that multiple Actions can share the same configurations. By using this approach, we can limit the number of config files. Also note that the configuration file does not have to be a file.


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