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

Add add an event that fires after all ProcessAnnotatedType events that allows you to add new AnnotatedTypes

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Critical
    • 1.1.PFD
    • 1.0
    • Portable Extensions
    • None

    Description

      At the moment AnnotatedTypes can only be added in the BeforeBeanDiscovery phase. This means that if you want to install additional beans based on the beans processed in the ProcessAnnotatedType phase you must instead add implementations of the Bean interface in the AfterBeanDiscovery phase. This interface is more limited than annotated type, and does not let you exactly mimic the behaviour of beans added as AnnotatedTypes.

      Some of the things that the bean interface will not let you mimic are:

      • Interceptors
      • Disposal methods
      • Producer fields for normal scoped beans

      Attachments

        Issue Links

          Activity

            People

              pmuiratbleepbleep Pete Muir (Inactive)
              sdouglas1@redhat.com Stuart Douglas
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: