[
https://issues.apache.org/jira/browse/OWB-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175344#comment-13175344
]
Mark Struberg commented on OWB-634:
-----------------------------------
I've now committed a test which is commented out because it's currently
failing. See EjbInterceptorTest#testDynamicEjbInterceptor()
The underlying problem is that EJBInterceptorConfig#configure only takes the
class and parses it via reflection. This should use the AnnotatedType instead!
> @Interceptors added by extension ignored
> ----------------------------------------
>
> Key: OWB-634
> URL: https://issues.apache.org/jira/browse/OWB-634
> Project: OpenWebBeans
> Issue Type: Bug
> Affects Versions: 1.1.3
> Reporter: Romain Manni-Bucau
> Assignee: Mark Struberg
>
> using a portable extension to add an annotation @Interceptors on some beans
> doesn't work because @Interceptors annotations are detected using old
> reflection (AnnotationUtil.hasClassAnnotation() for instance).
> the annotatedType should be used too.
> Note: today (on trunk) this annotatedType is not propagated through the whole
> chain (it is easily null).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira