-
Enhancement
-
Resolution: Done
-
Minor
-
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.