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

Non EE modules should be able to inject/lookup in JNDI a BeanManager

    Details

      Description

      EE.5.19

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

      Where EE modules are defined to be; ejb-jar, rar, client jar and war.

      This is a missmatch between the EE spec and the CDI spec. According to the CDI spec, any archive with a beans.xml is defined as a BeanArchive and should be included in a BeanManager, EE define it to be only EE modules should trigger BeanManager creation.

      Opening this up to follow the CDI spec will let any library use the BeanManager to introspect other BeanArchives without having to involve the owning EE module in the loop.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  aslak Aslak Knutsen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated: