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

Martin Kouba (JIRA) jira-events at lists.jboss.org
Thu May 17 07:45:18 EDT 2012


Martin Kouba created WELD-1139:
----------------------------------

             Summary: 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: 2.0.0.Alpha2, 1.1.5.Final
            Reporter: Martin Kouba


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