[weld-issues] [JBoss JIRA] (WELD-1082) Interceptor resolution works across bean archive boundaries

Manuel Hartl (JIRA) jira-events at lists.jboss.org
Thu Mar 8 05:08:36 EST 2012


Manuel Hartl created WELD-1082:
----------------------------------

             Summary: Interceptor resolution works across bean archive boundaries
                 Key: WELD-1082
                 URL: https://issues.jboss.org/browse/WELD-1082
             Project: Weld
          Issue Type: Bug
          Components: Interceptors and Decorators
    Affects Versions: 1.1.5.Final
         Environment: tomcat 7.0.25, windows 7, weld 1.1.5,
            Reporter: Manuel Hartl


Enabling Interceptors in beans.xml in a bean archive will enable the interceptor for ALL bean archives in the class path.

according to CDI spec 1.0 (9.5. Interceptor resolution) this is wrong:
"An interceptor is bound to a method if: [....] The interceptor is enabled in the bean archive containing the bean."


--
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