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

Clarify ProcessAnnotatedType definition

XMLWordPrintable

    • Icon: Clarification Clarification
    • Resolution: Done
    • Icon: Minor Minor
    • 1.1.PRD
    • 1.0
    • Portable Extensions
    • None
    • Release Notes

      The spec currently says:

      The container must fire an event for each Java class or interface it discovers in a bean archive, and for annotated type added by BeforeBeanDiscovery.addAnnotatedType(), except for those annotated with @Vetoed, before it processes the declared annotations.

      This is inaccurate and I believe that the intention of the spec is to enforce that the PAT events are fired before the contained processes annotated types.

      Note that "processing declared annotations" is only one of multiple parts of the process of creating beans therefore the entire process should be mentioned in the spec instead of one of its subparts.

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

                Created:
                Updated:
                Resolved: