Spring : Spring Boot 自定义PropertySourceLoader

1.美图 2.概述 SpringBoot 的配置文件内置支持 properties、xml、yml、yaml 几种格式,其中 properties和xml 对应的Loader类为 PropertiesPropertySourceLoader ,yml和yaml 对应的Loader类为 YamlPropertySourceLoader。 观察这2个类可以发现,都实现自接口 PropertySourc
相关文章
相关标签/搜索