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

Spec doesn't talk about BeanConfigurator.read method

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Blocker
    • Resolution: Done
    • None
    • 2.0 .Final
    • None
    • None

    Description

      Spec doesn't mention this method which could be confusing e.g with following (recently added) rule:

      If a BeanConfigurator has no scope specified via the BeanConfigurator.scope() method, the Default Scope rules apply.

      When you use this read method then it makes sense to copy scope from original AnnotatedType (current Weld behaviour) so I would reword this e.g to:

      If a BeanConfigurator has no scope specified via the BeanConfigurator.scope() method or BeanConfigurator is not initialized with one of its read methods, the Default Scope rules apply.

      Attachments

        Issue Links

          Activity

            People

              asabotdu@redhat.com Antoine Sabot-Durand (Inactive)
              tremes1@redhat.com Tomas Remes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: