org.keel.clients.cocoon
Class ModelAction
java.lang.Object
ComposerAction
org.keel.clients.cocoon.ModelAction
- All Implemented Interfaces:
- Configurable, Contextualizable, LogEnabled, ThreadSafe
- public class ModelAction
- extends ComposerAction
- implements ThreadSafe, Configurable, LogEnabled, Contextualizable
This action makes response attributes available to the sitemap via parameter substitution.
- Version:
- $Revision: 1.6 $ $Date: 2004/05/11 20:44:19 $
- Author:
- Michael Nash, Schatterjee Created on May 24, 2003
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
commonsLog
private static Log commonsLog
-
Commons Logging instance.
myConf
private Configuration myConf
-
log
private static Logger log
-
myContext
private Context myContext
-
cocoonClientConnectorClassName
private java.lang.String cocoonClientConnectorClassName
-
ModelAction
public ModelAction()
contextualize
public void contextualize(Context newContext)
- Description copied from interface:
Contextualizable
-
Pass the Context to the component. This method is called after the Loggable.setLogger() (if present) method and before any other method.
-
- Specified by:
contextualize in interface Contextualizable
-
- Parameters:
newContext - the context. Must not be null.
configure
public void configure(Configuration conf)
- Description copied from interface:
Configurable
-
Pass the
Configuration to the Configurable class.
-
- Specified by:
configure in interface Configurable
-
- Parameters:
conf - the class configurations. Must not be null.
act
public java.util.Map act(Redirector redirector,
SourceResolver resolver,
java.util.Map objectModel,
java.lang.String source,
Parameters param)
throws java.lang.Exception
-
-
- Throws:
java.lang.Exception
getConnector
private CocoonClientConnector getConnector(Request request,
Response response,
Configuration myConf,
java.lang.String source,
java.lang.String root)
-
-
enableLogging
public void enableLogging(Logger newLog)
- Description copied from interface:
LogEnabled
-
Provide component with a logger.
-
- Specified by:
enableLogging in interface LogEnabled
-
- Parameters:
newLog - the logger. Must not be null.
Please see keelframework.org for information about new Keel releases.