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

Vetoing types - clarify consequences

XMLWordPrintable

    • Icon: Clarification Clarification
    • Resolution: Done
    • Icon: Critical Critical
    • 1.1.PFD
    • None
    • None
    • None

      The spec currently says @Vetoed type is prevented from being considered by CDI and ProcessAnnotatedType.veto() forces the container to ignore the type. This is quite obvious for classes and interfaces. However not so clear when vetoing annotations (e.g. qualifier). I think ignoring means not being considered as qualifier (thus affects resolution). Other (rather theoretical) example is vetoing non-contextual instances - should it prevent performing dependency injection?

            pmuiratbleepbleep Pete Muir (Inactive)
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: