19

spring源码解析 - spring缓存和循环依赖问题-wavebeed的博客

 3 years ago
source link: https://blog.51cto.com/14815984/2532622
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
由上篇的分析可知,spring创建和实例化bean的过程的环节是比较多并且包装比较深的,那么如果每次getBean时都需要走这么多环节的话,那么不但会产生很多内存对象和计算逻辑,而且更重要的是无法解决对象在一些场景中的依赖问题,尤其是循环依赖的问题..

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK