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

Vetoing types - clarify consequences

    XMLWordPrintable

Details

    • Clarification
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Done
    • None
    • 1.1.PFD
    • None
    • None

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: