类 ConfigTreeConfigDataLoader
java.lang.Object
org.springframework.boot.context.config.ConfigTreeConfigDataLoader
- 所有已实现的接口:
ConfigDataLoader<ConfigTreeConfigDataResource>
public class ConfigTreeConfigDataLoader
extends Object
implements ConfigDataLoader<ConfigTreeConfigDataResource>
ConfigDataLoader
for config tree locations.- 从以下版本开始:
- 2.4.0
- 作者:
- Madhura Bhave, Phillip Webb
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明load
(ConfigDataLoaderContext context, ConfigTreeConfigDataResource resource) LoadConfigData
for the given resource.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.springframework.boot.context.config.ConfigDataLoader
isLoadable
-
构造器详细资料
-
ConfigTreeConfigDataLoader
public ConfigTreeConfigDataLoader()
-
-
方法详细资料
-
load
public ConfigData load(ConfigDataLoaderContext context, ConfigTreeConfigDataResource resource) throws IOException, ConfigDataResourceNotFoundException 从接口复制的说明:ConfigDataLoader
LoadConfigData
for the given resource.- 指定者:
load
在接口中ConfigDataLoader<ConfigTreeConfigDataResource>
- 参数:
context
- the loader contextresource
- the resource to load- 返回:
- the loaded config data or
null
if the location should be skipped - 抛出:
IOException
- on IO errorConfigDataResourceNotFoundException
- if the resource cannot be found
-