]
Jozef Hartinger updated WELD-1139:
----------------------------------
Labels: backport_weld1x (was: )
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
Labels: backport_weld1x
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...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: