摘要: 从配置文件读取配置信息给配置类属性赋值 - 处理过程由springboot实现(该过程暂未分析) 【配置文件:application.yml 与 springboot内置配置类的 联系】 总结: 自动配置类关联Properties类,properties类中存在默认属性值, 而properties关 阅读全文
posted @ 2020-08-13 14:03 #Kouch 阅读(7054) 评论(0) 推荐(0)
摘要: 简单的分析一下源码 - 模型图形 阅读全文
posted @ 2020-08-13 12:33 #Kouch 阅读(76) 评论(0) 推荐(0)
摘要: 总结:springboot启动-扫描并加载自动配置类(存在于"META-INF/spring.factories",spring-boot-autoconfigure-xxxx.RELEASE.jar ),但只有导入对应的starter依赖(即启动器)配置类中的配置才生效 二次分析总结 阅读全文
posted @ 2020-08-13 00:20 #Kouch 阅读(85) 评论(0) 推荐(0)
摘要: package pers.sun.demo.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import 阅读全文
posted @ 2020-08-11 13:56 #Kouch 阅读(455) 评论(0) 推荐(0)
摘要: javac:是编译命令,将java源文件编译成.class字节码文件。 java:是运行字节码文件;由java虚拟机对字节码进行解释和运行。 阅读全文
posted @ 2020-08-09 01:00 #Kouch 阅读(118) 评论(0) 推荐(0)