摘要: BeanDefinitionRegistryPostProcessor继承自BeanFactoryPostProcessor,其中有两个接口,postProcessBeanDefinitionRegistry是BeanDefinitionRegistryPostProcessor自带的,postPr 阅读全文
posted @ 2018-12-24 23:05 在谷歌上百度 阅读(1699) 评论(0) 推荐(0) 编辑
摘要: 2. 配置类,其中注入了一个实体类,跟一个MyBeanFactoryPostProcessor 3. 测试类 4. 结果,可见postProcessBeanFactory方法先于构造方法执行 BeanFactoryPostProcessor调用栈:1. AnnotationConfigApplica 阅读全文
posted @ 2018-12-24 15:42 在谷歌上百度 阅读(486) 评论(0) 推荐(0) 编辑