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

Remove the need to store the BeanManager in the Servlet attributes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 1.1.PRD
    • 1.1.EDR
    • Portable Extensions
    • None

      the CDI-1.1-EDR1 added a new feature (CDI-14):
      > spi.xml- <para>Web components may obtain an instance of <literal>BeanManager</literal>
      > spi.xml: by calling <literal>ServletContext.getAttribute("javax.enterprise.inject.spi.BeanManager")</literal>.

      Imo we should remove this again and instead propose the usage of the new CDI.current() for such situations.

              pmuiratbleepbleep Pete Muir (Inactive)
              struberg Mark Struberg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: