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

Provide a way to easily configure injection point of an InjectionTarget

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 2.0 .Final
    • None
    • None
    • None

    Description

      Creating an InjectionTarget requires an AnnotatedType. It is often convenient to create a custom AnnotatedType to add injection points in it (i.e. add @Inject on fields or methods).
      We Introduced the AnnotatedTypeConfigurator helper but didn't provide a way to use it to create an InjectionTarget.
      I think we should add BeanManager.createAnnotatedTypeConfigurator() to solve this and perhaps simplify other places where we could use an AnnotatedTypeConfigurator like in CDI-642

      Attachments

        Activity

          People

            asabotdu@redhat.com Antoine Sabot-Durand (Inactive)
            asabotdu@redhat.com Antoine Sabot-Durand (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: