4 ms·
Yes, this guy clearly does not understand the tools involved here. This is actually very important because injection scope can lead to program correctness erro
by paulmd 4y ago
Yes, this guy clearly does not understand the tools involved here.
This is actually very important because injection scope can lead to program correctness errors. It is possible for DI frameworks to GC an injected class that hasn't been used for a long time, so the one you get back may not be the one you expected, or if it contains an object map it may not contain the objects you expect, etc.
https://docs.spring.io/spring-framework/docs/3.0.0.M3/reference/html/ch04s04.html https://docs.spring.io/spring-framework/docs/3.0.0.M3/refere...