You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Chad Schoettger (JIRA)" <de...@beehive.apache.org> on 2006/03/14 18:31:01 UTC

[jira] Resolved: (BEEHIVE-1079) annotations on event set methods that interact with interceptors can result in compilation errors

     [ http://issues.apache.org/jira/browse/BEEHIVE-1079?page=all ]
     
Chad Schoettger resolved BEEHIVE-1079:
--------------------------------------

    Fix Version: v.next
     Resolution: Fixed
      Assign To: Alejandro Ramirez  (was: Chad Schoettger)

Fixed, svn rev 385840

> annotations on event set methods that interact with interceptors can result in compilation errors
> -------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-1079
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-1079
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>  Environment: xp
>     Reporter: matt c
>     Assignee: Alejandro Ramirez
>      Fix For: v.next

>
> An event set within a control interface with annotated methods can result in compilation errors.  The errors will only occur when the interface has no methods of its own (annotated or not).
> Repro:
> Easy, just create a control interface with an event set that has annotated methods that interact with interceptors and compile (if you add any method to the interface you will not see the error).  Ex:
> @ControlExtension
> public interface CallbackOnlyControl extends ExtensibleControl 
>     @EventSet
>     public interface CallbackHere extends MessageBufferFailure {      
>         @MessageBuffer(retryCount=2, retryDelay="1s")
>         void bufferedCallback();     
>     } 
> }
> Error:
>       [apt] D:\src_15004jr\bea\weblogic92\test\wlwbvt\messageBufferingApp\genera
> tedsrc\controls\stateless\CallbackOnlyControlBean.java:104: cannot find symbol
>       [apt] symbol  : variable _CallbackHere_bufferedCallbackEvent
>       [apt] location: class controls.stateless.CallbackOnlyControlBean.CallbackH
> ereNotifier
>       [apt]                 preEvent(_CallbackHere_bufferedCallbackEvent, __bc_a
> rgArray, _CallbackHere_bufferedCallbackEventInterceptors);
>       [apt]                          ^
>       [apt] D:\src_15004jr\bea\weblogic92\test\wlwbvt\messageBufferingApp\genera
> tedsrc\controls\stateless\CallbackOnlyControlBean.java:104: cannot find symbol
>       [apt] symbol  : variable _CallbackHere_bufferedCallbackEventInterceptors
>       [apt] location: class controls.stateless.CallbackOnlyControlBean.CallbackH
> ereNotifier
>       [apt]                 preEvent(_CallbackHere_bufferedCallbackEvent, __bc_a
> rgArray, _CallbackHere_bufferedCallbackEventInterceptors);
>       [apt]
>          ^
>       [apt] D:\src_15004jr\bea\weblogic92\test\wlwbvt\messageBufferingApp\genera
> tedsrc\controls\stateless\CallbackOnlyControlBean.java:131: cannot find symbol
>       [apt] symbol  : variable _CallbackHere_bufferedCallbackEvent
>       [apt] location: class controls.stateless.CallbackOnlyControlBean.CallbackH
> ereNotifier
>       [apt]                 postEvent(_CallbackHere_bufferedCallbackEvent, __bc_
> argArray, null, __bc_thrown, _CallbackHere_bufferedCallbackEventInterceptors, __
> bc_pivotedInterceptor);
>       [apt]                           ^
>       [apt] D:\src_15004jr\bea\weblogic92\test\wlwbvt\messageBufferingApp\genera
> tedsrc\controls\stateless\CallbackOnlyControlBean.java:131: cannot find symbol
>       [apt] symbol  : variable _CallbackHere_bufferedCallbackEventInterceptors
>       [apt] location: class controls.stateless.CallbackOnlyControlBean.CallbackH
> ereNotifier
>       [apt]                 postEvent(_CallbackHere_bufferedCallbackEvent, __bc_
> argArray, null, __bc_thrown, _CallbackHere_bufferedCallbackEventInterceptors, __
> bc_pivotedInterceptor);

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