摘要: 一、相关的几个注解 @SpringBootConfiguration @EnableAutoConfiguration @ComponentScan(excludeFilters = { @Filter(type = FilterType.CUSTOM, classes = TypeExcludeF 阅读全文
posted @ 2021-10-22 20:36 YangDanMua 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 一、Spring处理配置类大致过程 回忆一下Spring处理配置类的大致过程【ConfigurationClassPostProcessor】 【BeanFactoryPostProcessor -> BeanDefinitionRegistryPostProcessor】 Configuratio 阅读全文
posted @ 2021-10-22 20:26 YangDanMua 阅读(960) 评论(0) 推荐(0) 编辑
摘要: 从自动配置开始看一下 组合注解@SpringBootApplication中的注解@EnableAutoConfiguration @Import(AutoConfigurationImportSelector.class) public @interface EnableAutoConfigura 阅读全文
posted @ 2021-10-22 16:20 YangDanMua 阅读(216) 评论(0) 推荐(0) 编辑