Quantcast
Channel: Lazy load spring bean - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Cargeh for Lazy load spring bean

As stated in the doc, Beans that are singleton-scoped and set to be pre-instantiated (the default) are created when the container is created thus it doesn't matter if you put @Lazy on @Autowired, the...

View Article



Lazy load spring bean

If a bean is lazily loaded, Will all the beans defined inside the lazily loaded beans will be lazily loaded? (even though they are not defined @Lazy) Here is the test project:...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images