[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:38:37 EST 2012


Martin Kouba created WELD-1073:
----------------------------------

             Summary: 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: 2.0.0.Alpha1, 1.1.5.Final
            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