ovidiu 02/04/09 17:36:09 Modified: src/scratchpad/schecoon/src/org/apache/cocoon/components/flow Interpreter.java Log: Removed the processPipeline() method. Allow parameters to be passed to continuations. Revision Changes Path 1.10 +10 -19 xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/Interpreter.java Index: Interpreter.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/Interpreter.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- Interpreter.java 30 Mar 2002 05:29:28 -0000 1.9 +++ Interpreter.java 10 Apr 2002 00:36:09 -0000 1.10 @@ -146,23 +146,6 @@ throws Exception; /** - * Process a named pipeline defined using - * <code><map:resource/></code> in the sitemap. - * - * @param name a <code>String</code> value, the name of the pipeline - * (resource) in the sitemap. - * @param pipelineArgs a <code>Map</code> value, the arguments - * to be passed to the sitemap. - * @param bizData a <code>Object</code> value, the Java object or - * <code>null</code> which contains the business data to be passed - * to the generator of the pipeline (usually XSP or JSP). - */ - void processPipeline(String name, Map pipelineArgs, Object bizData, - WebContinuation continuation, - Environment environment, InvokeContext ctx) - throws Exception; - - /** * Forward the request to a Cocoon pipeline. * * @param URI a <code>String</code>, the URI of the forwarded request @@ -175,7 +158,7 @@ * invocation context. * @exception Exception if an error occurs */ - void forwardTo(String URI, Object bizData, WebContinuation continuation, + void forwardTo(String uri, Object bizData, WebContinuation continuation, Environment environment, InvokeContext ctx) throws Exception; @@ -185,10 +168,18 @@ * <code>continuationId</code> string. * * @param continuationId a <code>String</code> value + * + * @param params a <code>List</code> value, containing the + * parameters to be passed when invoking the continuation. As + * opposed to the parameters passed by <code>callFunction</code>, + * these parameters will only become available in the language's + * environment, if at all. + * * @param environment an <code>Environment</code> value * @param ctx an <code>InvokeContext</code> value + * @exception Exception if an error occurs */ - void handleContinuation(String continuationId, + void handleContinuation(String continuationId, List params, Environment environment, InvokeContext ctx) throws Exception;
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]