cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject svn commit: r329923 - /cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/java/org/apache/cocoon/components/flow/java/AbstractContinuable.java
Date Mon, 31 Oct 2005 22:46:21 GMT
Author: sylvain
Date: Mon Oct 31 14:46:16 2005
New Revision: 329923

URL: http://svn.apache.org/viewcvs?rev=329923&view=rev
Log:
Give access to sitemap parameters in javaflow

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/java/org/apache/cocoon/components/flow/java/AbstractContinuable.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/java/org/apache/cocoon/components/flow/java/AbstractContinuable.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/java/org/apache/cocoon/components/flow/java/AbstractContinuable.java?rev=329923&r1=329922&r2=329923&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/java/org/apache/cocoon/components/flow/java/AbstractContinuable.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/java/org/apache/cocoon/components/flow/java/AbstractContinuable.java
Mon Oct 31 14:46:16 2005
@@ -17,6 +17,7 @@
 
 import org.apache.avalon.framework.CascadingRuntimeException;
 import org.apache.avalon.framework.logger.Logger;
+import org.apache.avalon.framework.parameters.Parameters;
 import org.apache.cocoon.components.ContextHelper;
 import org.apache.cocoon.components.flow.FlowHelper;
 import org.apache.cocoon.components.flow.util.PipelineUtil;
@@ -31,7 +32,7 @@
  *
  * @author <a href="mailto:tcurdt@apache.org">Torsten Curdt</a>
  * @author <a href="mailto:stephan@apache.org">Stephan Michels</a>
- * @version CVS $Id: AbstractContinuable.java,v 1.4 2004/05/04 11:54:35 cziegeler Exp $
+ * @version CVS $Id$
  */
 public abstract class AbstractContinuable implements Continuable {
 
@@ -109,6 +110,10 @@
     
     public Map getObjectModel() {
         return ContextHelper.getObjectModel(getContext().getAvalonContext());
+    }
+
+    public Parameters getParameters() {
+        return getContext().getParameters();
     }
 
     public void processPipelineTo(String uri, Object bizdata, OutputStream out) {



Mime
View raw message