摘要:
public AnnotationConfigApplicationContext(Class<?>... annotatedClasses) { this(); //调用构造方法 // 获取创世纪的类,顶层类 register(annotatedClasses); // 注册配置类 refresh 阅读全文
posted @ 2022-08-21 12:38
a菜搬砖
阅读(12)
评论(0)
推荐(0)
摘要:
1.为什么使用springboot springboot容易上手,做了jar包的版本控制,不用考虑maven依赖,方便敏捷开发,内置tomcat减少开发配置,由于SPI提供对外的starter扩展。 2.springboot的自动装备原理: @SpringBootApplication @Enabl 阅读全文
posted @ 2022-08-21 12:32
a菜搬砖
阅读(51)
评论(0)
推荐(0)