[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 19:05:36 EST 2012
[ https://issues.jboss.org/browse/WELD-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675322#comment-12675322 ]
Manuel Hartl commented on WELD-1082:
------------------------------------
that's real a pity, because this prevents from developing portable CDI apps!
Could you please at least at a configuration switch to enable the correct behaviour for the next v1.1.X release?
> 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
>
> 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