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

Bean defining annotation (as currently specified) cannot be used for bean discovery

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.1.FD
    • 1.1.PFD
    • Portable Extensions
    • None

      Any scope type, which has an associated context (as defined in Chapter 6), is a bean defining annotation

      First the container must discover types. The container discovers:
      • each Java class, interface or enum deployed in an explicit bean archive, and
      • each Java class interface, or enum with a bean defining annotation in an implicit bean archive.

      The set of context cannot be enumerated until the AfterBeanDiscovery phase in which extensions register contexts. This creates a chicken-egg problem.

              pmuiratbleepbleep Pete Muir (Inactive)
              rhn-engineering-jharting Jozef Hartinger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: