cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Gianni (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COCOON-1819) No support for creation of Bookmarks from JavaFlow
Date Mon, 03 Apr 2006 02:14:43 GMT
    [ http://issues.apache.org/jira/browse/COCOON-1819?page=comments#action_12372876 ] 

Simone Gianni commented on COCOON-1819:
---------------------------------------

The first solution (doing everything from inside the Continuation system, not involving JavaInterpreter)
is really hard to work out:
- Continuation has a two step system based on isRestoring and isCapturing
- The ContinuationClassLoader inserts some checks, and if isCapturing = true it captures the
current execution stack.
- Unfortunately it then inserts a return null.
- This means that there seems to be no (easy) way of capturing the stack in the current continuation
and then continue creating a new continuation.

The only way of doing this seems to be adding another boolean, like isBookmarking, and have
the generated bytecode check for this one before inserting a return null .. and I'm afraid
this would only be the first step.

The provided patch simply ignores all this problems, stops the current continuation in the
normal way and then starts it again in the normal way.

> No support for creation of Bookmarks from JavaFlow
> --------------------------------------------------
>
>          Key: COCOON-1819
>          URL: http://issues.apache.org/jira/browse/COCOON-1819
>      Project: Cocoon
>         Type: Improvement

>   Components: Blocks: Java Flow
>     Reporter: Harlan Iverson
>  Attachments: javaflow-bookmarks-1.diff
>
> There is no JavaFlow equivalent of createWebContinuation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message