LD is tigger forever,CG are not brothers forever, throw the pot and shine forever.
Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away from poor people.
talk is cheap, show others the code,Keep progress,make a better result.
Survive during the day and develop at night。
目录
概 述
Spring bean 的生命周期
面试部分问题:
1.扫描bean
2.便利这个map
3.获得一个class
4.推断构造方法的过程
5.进行反射实例化对象
6.是否允许循环依赖
7.bean工厂对象的缓存
8.合并bd
9.完成
docreateBean的方式,Spring工厂方法,正常bean 的话:
推断一个构造方法。
总之,推断一个构造方法,如果是默认的话,推断Spring的默认方法。直接instance。
总结:
相关工具如下:
分析:
小结:
主要讲述了Spring相关的分析,请大家指正~
参考资料和推荐阅读
1.链接: link