摘要: @SpringBootApplication 这个配置等同于:@Configuration ,@EnableAutoConfiguration 和 @ComponentScan 三个配置。 @EnableAutoConfiguration Spring Boot自动配置(auto-configura 阅读全文
posted @ 2018-10-16 11:31 wade&luffy 阅读(721) 评论(0) 推荐(0) 编辑
摘要: # # COMMON SPRING BOOT PROPERTIES # # This sample file is provided as a guideline. Do NOT copy it in its # entirety to your own application. ^^^ # # # 阅读全文
posted @ 2018-10-16 11:30 wade&luffy 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 透过现象看本质,SpringApplication 只是将一个典型的Spring应用的启动流程进行了扩展,因此,透彻理解 Spring 容器是打开 Spring Boot 大门的一把钥匙。 Spring IOC 容器启动概述 BeanDefinition 对象:容器中的每一个 bean 都会有一个对 阅读全文
posted @ 2018-10-16 11:08 wade&luffy 阅读(1417) 评论(0) 推荐(0) 编辑