interceptor/bean binding relationship is inverted in
WebBeansInterceptor.hasBinding()
-------------------------------------------------------------------------------------
Key: OWB-159
URL: https://issues.apache.org/jira/browse/OWB-159
Project: OpenWebBeans
Issue Type: Bug
Components: Java EE Integration
Affects Versions: M4
Reporter: Eric Covener
Assignee: Gurkan Erdogdu
OWB does not properly determine when an interceptor is valid for a set the set
of annotations pulled from a bean.
Currently, OWB only registers an interceptor in a beans' stack if ALL bindings
of the bean are present in the given interceptor.
OTOH, JSR299 requires that for each individual interceptor should be enabled
if all of its bindings are present in the bean.
IOW, the following can be intercepted by two interceptors each declaring 1
binding by JSR299 but not by OWB. OWB would require both bindings present on
the interceptor.
@RequestScoped
@Int1
@Int2
public class Interceptable {...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.