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

The availability of the BeanManager should follow the normal EE visibility rules

    XMLWordPrintable

Details

    Description

      EE 6 spec

      EE.5.19

      A bean manager is only available in modules in which CDI has been enabled.

      In e.g. a EAR deployment, a WAR module can see a EJB module. With CDI enabled in the EJB, the WAR can only see the BeanManager if the WAR itself is also CDI enabled. In cases where you want to do dynamic introspection of available beans etc, this is a bit cumbersome, especially since the introspecting code can be in a packaged jar inside a unknown WAR..

      Attachments

        Issue Links

          Activity

            People

              pmuiratbleepbleep Pete Muir
              aslak@redhat.com Aslak Knutsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: