随笔分类 -  Spring专题

摘要:非常好的源码帖子,全是干货~~~~ 【小家Spring】 (1)Spring IOC容器启动流程 AbstractApplicationContext#refresh()方法源码分析(一) (2)Spring IOC容器启动流程 AbstractApplicationContext#refresh( 阅读全文
posted @ 2021-03-24 22:31 风止雨歇 阅读(27) 评论(0) 推荐(0) 编辑
摘要:参考链接: 《spring源码系列(六)——番外篇如何编译spring的源码》:https://blog.csdn.net/bskfnvjtlyzmv867/article/details/81171802 《Spring源码——IDEA读Spring源码环境搭建》:https://blog.csd 阅读全文
posted @ 2021-01-13 23:36 风止雨歇 阅读(1411) 评论(0) 推荐(0) 编辑
摘要:一、Spring的监听器 参考:https://blog.csdn.net/erbao_2014/article/details/68924231 (1)定义事件,继承 ApplicationEvent 类; public class MyEvent extends ApplicationEvent 阅读全文
posted @ 2021-01-11 23:53 风止雨歇 阅读(158) 评论(0) 推荐(0) 编辑
摘要:一、@ComponentScan 进行包扫描 在配置类上写 @CompentScan 注解来进行包扫描 @Configuration @ComponentScan(basePackages = {"com.yufeng.testcompentscan"}) public class MainConf 阅读全文
posted @ 2021-01-11 20:24 风止雨歇 阅读(213) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示