[
https://issues.apache.org/jira/browse/BEEHIVE-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498851
]
Russ Baker commented on BEEHIVE-1076:
-------------------------------------
I verified that the @InterceptorAnnotation works both on the class level as
well as the method level. I recommend that this bug be closed.
> interceptors for annotations don't get wired into generated control beans if
> the annotation is at the class level
> -----------------------------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-1076
> URL: https://issues.apache.org/jira/browse/BEEHIVE-1076
> Project: Beehive
> Issue Type: Improvement
> Components: Controls
> Affects Versions: 1.0.1
> Reporter: Jim Cummings
> Assigned To: Jacob Danner
> Fix For: V.Next
>
>
> If you have an annotation which is meta-annotated with @InterceptorAnnotation
> specifying an interceptor service, and you place that annotation on a control
> at the class-level (on the interface), then the generated control bean
> doesn't get any interceptor logic wired in for pre/post invoke or pre/post
> event. Placing the annotation at the method level works as expected.
> It would be really nice if you could hook in interceptors for ALL methods by
> putting the annotation at the class level and having the code gen
> automatically wire this in for all methods.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.