[weld-issues] [JBoss JIRA] (WELD-1082) Interceptor resolution works across bean archive boundaries
Stuart Douglas (JIRA)
jira-events at lists.jboss.org
Thu Mar 8 16:19:36 EST 2012
[ https://issues.jboss.org/browse/WELD-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Douglas updated WELD-1082:
---------------------------------
Component/s: Servlet Container Support
This works on AS7.
Changing it on weld-servlet will probably break existing apps, it won't be fixed in the 1.1 branch.
> 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, Servlet Container Support
> Affects Versions: 1.1.5.Final
> Environment: tomcat 7.0.25, windows 7, weld 1.1.5,
> Reporter: Manuel Hartl
> Assignee: Marko Lukša
>
> 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