Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2762

Dependent beans created by CDINewBeanCommand should declare scope annotation if CDI 1.1 project facet is used

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Minor Minor
    • 3.8.0.Final
    • None
    • Java EE
    • None

      The reason is that in CDI 1.1 an implicit bean archive could be used and in such case, only bean classes annotated with a bean defining annotation are considered (i.e. the bean created with CDINewBeanCommand would be ignored). See also Bean archives and Default bean discovery mode.

              mkouba@redhat.com Martin Kouba
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: