摘要:
1、Tomcat启动【Web】应用时要默认实例化【ServletContextInitializer】类型的Bean定义,类【ServletEndpointRegistrar】实现了该接口。2、包【spring.boot.actuator.autoconfigure】中的内部静态配置类【ServletEndpointManagementContextConfiguration.WebMvcServ... 阅读全文
posted @ 2020-01-06 20:56
StarkBrothers
阅读(616)
评论(0)
推荐(0)
摘要:
1、【RibbonAutoConfiguration】类之所以成为配置类,是因为被【@Configuration】注解,而【@Configuration】本身又是被【@Component】注解的,所以该配置类最终会被实例化为一个配置向Bean。2、其存在一个属性【configurations】,是一个List集合,类型为【RibbonClientSpecification】。在该配置类实例化时会被... 阅读全文
posted @ 2020-01-06 20:53
StarkBrothers
阅读(871)
评论(0)
推荐(0)

浙公网安备 33010602011771号