09 2020 档案

Spring源码解析(三) -- registerBeanPostProcessors(beanFactory)
摘要:本节分析下 refresh()中的 registerBeanPostProcessors(beanFactory);方法 public interface BeanPostProcessor { /** * Apply this BeanPostProcessor to the given new 阅读全文

posted @ 2020-09-21 17:52 MaXianZhe 阅读(359) 评论(0) 推荐(0)

Spring源码解析(二) -- invokeBeanFactoryPostProcessors
摘要:上一篇分析了Spring容器启动时,beanfactory的初始化,此时在beanfactory中存在了全部的BeanDefinition,注意此时还没有任何一个bean,有的只是BeanDefinition。 本篇我们分析Spring启动时实例化BeanFactoryPostProcessor并启 阅读全文

posted @ 2020-09-18 15:36 MaXianZhe 阅读(315) 评论(0) 推荐(0)

Spring源码解析(一) -- beanfactory
摘要:Spring源码解析(一) -- beanfactory spring的源码其实来来回回看过不下5次,但是之前没有总结的习惯,总是看了又忘。今天开始计划重新看一遍spring,并做记录和总结。 进入主题,我们来分析一下beanfactory的创建。 1 beanfactory的创建 Abstract 阅读全文

posted @ 2020-09-17 21:02 MaXianZhe 阅读(241) 评论(0) 推荐(0)

导航