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

Specify bean discovery mode for synthetic bean archive for use with Weld.addPackages and @AddPackages

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • None
    • None
    • Java SE Support
    • None

    Description

      The behaviour changed for synthetic bean archives in 2.4.4.Final and 3.0.1.Final with WELD-2386. The previous behaviour was like an explicit bean archive with bean-discovery-mode="all". This changed to behave like bean-discovery-mode="annotated". We need to be able to test cases where we cannot force the defining annotation to e.g. all beans in specific packages.

      A solution could be to overload / add a parameter to the method / annotation to allow to switch to the old behaviour of bean-discovery-mode="all".

      Attachments

        Activity

          People

            manovotn Matěj Novotný
            itsmeden Lars-Fredrik Smedberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: