Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1659

Optimize use of proxies for reference injection

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 2.2.1.Final
    • None
    • Proxies
    • None

    Description

      The spec allows the following optimization to be put in place:

      For certain combinations of scopes, the container is permitted to optimize the above procedure:

      • The container is permitted to directly inject a contextual instance of the bean, as defined in Section 6.5.2.
      • If an incompletely initialized instance of the bean is registered with the current CreationalContext, as defined in Section 6.1, the container is permitted to directly inject this instance.
        However, in performing these optimizations, the container must respect the rules of injectable reference validity.

      Start by enumerating the set of allowed combinations of scopes.

      Attachments

        Issue Links

          Activity

            People

              mkouba@redhat.com Martin Kouba
              rhn-engineering-jharting Jozef Hartinger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: