[weld-issues] [JBoss JIRA] (WELD-1073) Cannot enable interceptor that is not deployed in any bean archive
Martin Kouba (JIRA)
jira-events at lists.jboss.org
Fri Mar 2 06:54:36 EST 2012
[ https://issues.jboss.org/browse/WELD-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673110#comment-12673110 ]
Martin Kouba commented on WELD-1073:
------------------------------------
CDI TCK 1.1 test:
https://github.com/jboss/cdi-tck/blob/master/impl/src/main/java/org/jboss/cdi/tck/tests/deployment/packaging/interceptor/InterceptorClassNotInBeanArchiveTest.java
> Cannot enable interceptor that is not deployed in any bean archive
> ------------------------------------------------------------------
>
> Key: WELD-1073
> URL: https://issues.jboss.org/browse/WELD-1073
> Project: Weld
> Issue Type: Bug
> Components: Interceptors and Decorators
> Affects Versions: 1.1.5.Final, 2.0.0.Alpha1
> Reporter: Martin Kouba
> Priority: Minor
>
> It's not possible to enable interceptor if it is not deployed in any bean archive.
> For example if interceptor class is in A.jar (non-BDA) and is enabled in beans.xml of B.jar (BDA), deployment results in WELD-001417 - INTERCEPTOR_NOT_ANNOTATED_OR_REGISTERED.
> Unless I am mistaken nor the CDI spec nor the Interceptors spec define such requirement.
--
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