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

Cannot enable interceptor that is not deployed in any bean archive

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Rejected
    • 1.1.5.Final, 2.0.0.Alpha1
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: