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

Specify the default scope for beans created from BeanConfigurator

    Details

    • Type: Clarification
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0 .Final
    • Component/s: None
    • Labels:
      None

      Description

      Right now, this is undefined. However, it might me useful to specify that the scope is defaulted if not set by BeanConfigurator.scope(Class<? extends Annotation>). The default scope could be either @Dependent or determined by the rules from "2.4.4. Default scope" (i.e. including default scopes from stereotypes).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                antoinesabot-durand Antoine Sabot-Durand
                Reporter:
                mkouba Martin Kouba
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: