初学spring boot (定制tomcat容器)--002

  一:spring boot定制tomcat容器   1. 首先spring boot 通过注解@EnableAutoConfiguration初始化各种自动装配和bean,其中默认注册 TomcatEmbeddedServletContainerFactory 到 DefaultListableBeanFactory。   2. 转化为java语言:定制一个bean. 第一反应就是借鉴spri
相关文章
相关标签/搜索