Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1073

Cannot enable interceptor that is not deployed in any bean archive

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 1.1.5.Final, 2.0.0.Alpha1
    • None

      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.

              rhn-engineering-jharting Jozef Hartinger
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: