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

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: