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

Creational context - do not store dependent instances of built-in beans

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 2.3.0.CR1, 3.0.0.Alpha13
    • 2.2.14.Final, 2.3.0.Beta2, 3.0.0.Alpha11
    • None
    • None

      Currently, there is an optimization (added as part of WELD-1076 and WELD-920) - CreatinalContext does not store dependent instances that do not define @PreDestroy callbacks nor are they intercepted by a @PreDestroy interceptor nor have a disposer method declared. Maybe, we could extend the optimization so that built-in dependent beans are not stored either.

              mkouba@redhat.com Martin Kouba
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: