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

Clarify which beans "have" bean defining annotations

    Details

    • Type: Clarification
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 1.1.PFD
    • Fix Version/s: 1.1.FD
    • Component/s: Beans
    • Labels:
      None

      Description

      Any bean which has scope type is said to have a bean defining annotation.

      The spec makes this vague statement and provides two examples which only cover the two simplest cases. What remains unclear is:

      • if a bean class inherits a scope annotation definition from a superclass, should it be discovered in an implicit bean archive?
      • if a bean inherits a scope from a stereotype, should it be discovered in an implicit bean archive?
      • if a producer method / field has a scope annotation but the declaring bean is not a bean with bean defining annotation, whould the producer be discovered?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pmuir Pete Muir
                Reporter:
                jharting Jozef Hartinger
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: