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

Allow CDIProvider to specify the priority

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 2.0 .Final
    • None
    • None
    • None

    Description

      Right now, the CDI class takes the first provider whose javax.enterprise.inject.spi.CDIProvider.getCDI() does not return null. It might be useful to allow the CDIProvider authors to specify a priority (either by @Priority or by Prioritized) and sort the discovered providers so that those with higher priority are taken first.

      Attachments

        Activity

          People

            asabotdu@redhat.com Antoine Sabot-Durand (Inactive)
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: