![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring boot
任程鹏
这个作者很懒,什么都没留下…
展开
-
spring-boot中dubbo的配置冲突检测导致dubbo消费者的全局配置不生效
spring-boot中dubbo的配置冲突检测导致dubbo消费者的全局配置不生效首先,大概介绍下dubbo的配置冲突检测----DubboConfigBeanDefinitionConflictProcessor,主要是用来在项目启动时候,去检测项目中是否有多个org.apache.dubbo.config.ApplicationConfig配置。private void resolveU...原创 2020-01-19 19:11:09 · 6614 阅读 · 8 评论 -
@EnableAutoConfiguration解析
大家是否还记得Spring框架提供的各种名字为@Enable开头的Annotation定义?比如@EnableScheduling、@EnableCaching、@EnableMBeanExport等,如:@EnableScheduling是通过@Import将Spring调度框架相关的bean定义都加载到IoC容器。@EnableMBeanExport是通过@Import将JMX相关的be...原创 2019-08-07 10:55:25 · 489 阅读 · 0 评论 -
SpringBootApplication背后的秘密
@SpringBootApplication注解是Spring Boot的核心注解,它其实是一个组合注解:@Target(ElementType.TYPE)@Retention(RetentionPolicy.RUNTIME)@Documented@Inherited@SpringBootConfiguration@EnableAutoConfiguration@ComponentS...原创 2019-08-07 10:58:40 · 106 阅读 · 0 评论