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

Deprecate before dropping CDI.setCDIProvider

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Blocker Blocker
    • None
    • 2.0 .Final
    • Java SE Integration
    • None

      CDI.setCDIProvider allows to switch the cdi provider at any time by anyone. This lead to issues integrating multiple libraries doing it + is not a real user facing API, it is actually a server internal.

      Proposal is to deprecate the method, remove its implementation (always throw an IllegalStateException or just do a noop) and finally drop the method after one or two releases since it can't really be used except for very simple apps.

              Unassigned Unassigned
              rmannibucau@gmail.com Romain Manni-Bucau (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: