zl程序教程

您现在的位置是:首页 >  其他

当前栏目

SPring 容器完成

2023-03-20 14:58:19 时间

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 and KPI, Keep progress,make a better result.
Survive during the day and develop at night。

目录

概 述

getbean帮我们的实现bean 的创建过程,其他bean 都来触发后置回调的方法,
所有的beans对象的方法,所有的bean都利用getbean检查是否是接口的方法规定的这份方法,这个就这个他执行,
就算完成了,最后一步完成容器的创建工作,完成BeanFactory 的初始化创建工作,初始化和生命周期先关的OnRe发热爱上
函数,允许初始化和生命周期的后置处理器进行拦截,初始化生命周期,默认从容器中是否有life注册在容器中,
方面拿到生命周期的处理器,

刷新完成事件,applciationListerner,暴漏一下IOC容器大致完成了。

小结

参考资料和推荐阅读

1.链接: link.