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

Add support for annotation scanning of Java enums

    XMLWordPrintable

Details

    • Feature Request
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 1.1.PRD
    • Beans
    • None

    Description

      It would be useful if Java enums were included in the CDI annotation scan.

      A use case for this is found in the Seam Faces project, where we would like to use annotations on enums for configuration purposes. The annotation would look like:

      @ViewConfig
      public enum Pages {
      ...
      }

      It is my understanding that the current CDI specification (1.0) does not require scanning of the enum and will not pick up the @ViewConfig annotation.

      Attachments

        Activity

          People

            pmuiratbleepbleep Pete Muir
            bleathem@redhat.com Brian Leathem (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: