| 程序包 | 说明 |
|---|---|
| org.nutz.boot | |
| org.nutz.boot.config.impl |
| 限定符和类型 | 字段和说明 |
|---|---|
protected ConfigureLoader |
AppContext.configureLoader
配置加载器
|
| 限定符和类型 | 方法和说明 |
|---|---|
ConfigureLoader |
AppContext.getConfigureLoader()
获取配置加载器
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AppContext.setConfigureLoader(ConfigureLoader configureLoader)
设置配置信息加载器
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractConfigureLoader
封装配置加载器的通用逻辑
|
class |
PropertiesConfigureLoader
配置信息优先级, 从低到高:
custom目录下的配置文件
application.properties
application-${profile}.properties
命令行参数
|
class |
YamlConfigureLoader
未完成
|
Copyright © 2019. All rights reserved.