[weld-issues] [JBoss JIRA] (WELD-1082) Interceptor resolution works across bean archive boundaries
Ales Justin (JIRA)
jira-events at lists.jboss.org
Thu Mar 8 07:11:36 EST 2012
[ https://issues.jboss.org/browse/WELD-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675088#comment-12675088 ]
Ales Justin commented on WELD-1082:
-----------------------------------
Can you perhaps provide an Arquillian test?
(via github pull-request if possible)
> 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