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

Clarify declaring selected alternatives for an application

    Details

    • Type: Clarification
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: None
    • Fix Version/s: 1.1.PFD
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mkouba Martin Kouba
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: