beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julie Zhuo (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Closed: (BEEHIVE-795) Missing compile error when annotating a shared flow as "longLived"
Date Wed, 03 Aug 2005 09:08:35 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-795?page=all ]
     
Julie Zhuo closed BEEHIVE-795:
------------------------------


Verified at rev226883. It now produces the following compiler error.

D:\..path..\JIRA795\SharedFlow.java:16: The "longLived" attribute may only be used on a class
that extends org.apache.beehive.netui.pageflow.PageFlowController.public class SharedFlow
      ^1 error

> Missing compile error when annotating a shared flow as "longLived"
> ------------------------------------------------------------------
>
>          Key: BEEHIVE-795
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-795
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: v1m1
>     Reporter: John Rohrlich
>     Assignee: Julie Zhuo
>     Priority: Minor
>      Fix For: V1

>
> A shared flow is implicitly "longLived" because it remains in the session unless explicitly
deleted before the end of the session. The "longLived" annotation should be disallowed on
a shared flow.
> This code compiles without error, but I think it should produce an error.
> @Jpf.Controller(longLived=true,
> 	simpleActions={
> 	        @Jpf.SimpleAction(name="home", path="/home.faces")
> 	    },
>     catches={
>        @Jpf.Catch(type=PageFlowException.class, method="handlePageFlowException"),
>        @Jpf.Catch(type=Exception.class, method="handleException")
>     }
> )

-- 
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