Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-303

Clarify declaring selected alternatives for an application

XMLWordPrintable

    • Icon: Clarification Clarification
    • Resolution: Obsolete
    • Icon: Major Major
    • 1.1.PFD
    • None
    • None
    • None

      It's not clear whether an alternative with a default priority but not selected for an application is selected for the bean archive whose beans.xml declares it.

      The spec states:

      An alternative may be given a default priority, but not selected for an application using the <alternatives> element of the beans.xml file of the bean archive. The <alternatives> element contains a list of bean classes and stereotypes, along with a disabled flag and a priority attribute. An alternative is selected for the bean archive if either:
      ...

      Pay attention to the last sentence of the paragraph.

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

              Created:
              Updated:
              Resolved: