2.5.2 Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or el
Spring Boot自动化配置原理依赖于 Conditional 注解来实现:
Conditional是Spring4提供的一个新特性用于根据条件来控制Bean的创建行为。
我们从大家熟知的Spring Boot 的启动类开始
SpringBootApplication
public class DemoApplication {
public static void main(String[] args) {
SpringApplication.run(DemoAppli