| 接口 | 说明 |
|---|---|
| PropertiesAware |
| 类 | 说明 |
|---|---|
| ConfigProperties |
配置文件 工具类
扫描本框架默认配置文件并注入context中
优先级高于xml文件&{}扫描与@Value扫描并提供转换支持
若开发者不使用< context:property-placeholder/>标签
则将自动注册
PropertySourcesPlaceholderConfigurer
并启动扫描
可在properties/config.properties 配置文件中配置 sys.properties 配置项来增加需要扫描的配置文件
最佳支持版本:spring-4.3.13.RELEASE,spring-boot-1.5.9.RELEASE
|
| ConfigPropertiesForRoot | |
| ConfigPropertiesForWeb | |
| PropertiesEncodePropertySourceLoader |
Copyright © 2019. All rights reserved.