[weld-issues] [JBoss JIRA] (WELD-1139) Business method interceptor bindings do not include bindings declared as meta-annotations of other interceptor bindings recursively

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Thu May 17 11:07:19 EDT 2012


     [ https://issues.jboss.org/browse/WELD-1139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jozef Hartinger updated WELD-1139:
----------------------------------

    Fix Version/s: 2.0.0.Alpha3

    
> Business method interceptor bindings do not include bindings declared as meta-annotations of other interceptor bindings recursively
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WELD-1139
>                 URL: https://issues.jboss.org/browse/WELD-1139
>             Project: Weld
>          Issue Type: Bug
>    Affects Versions: 1.1.5.Final, 2.0.0.Alpha2
>            Reporter: Martin Kouba
>            Assignee: Jozef Hartinger
>             Fix For: 2.0.0.Alpha3
>
>
> It seems that only one level of inheritance is taken into account. The problem is likely in {{Interceptors.flattenInterceptorBindings(BeanManagerImpl, Collection<Annotation>, boolean, boolean)}} or {{InterceptorBindingModel}}.
> {quote}
> 9.5. Interceptor resolution:
> For a business method or EJB timeout method, the interceptor bindings include the interceptor bindings declared or inherited by the bean at the class level, including, recursively, interceptor bindings declared as meta-annotations of other interceptor bindings and stereotypes, together with all interceptor bindings declared at the method level, including, recursively, interceptor bindings declared as meta-annotations of other interceptor bindings.
> {quote}
> See also CDI TCK 1.1 test:
> https://github.com/jboss/cdi-tck/blob/master/impl/src/main/java/org/jboss/cdi/tck/tests/interceptors/definition/inheritance/resolution/InterceptorBindingResolutionTest.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list