接口 ConfigDataLocationResolverContext
public interface ConfigDataLocationResolverContext
Context provided to
ConfigDataLocationResolver
methods.- 从以下版本开始:
- 2.4.0
- 作者:
- Phillip Webb, Madhura Bhave
-
方法概要
修饰符和类型方法说明Provides access to a binder that can be used to obtain previously contributed values.Provides access to theConfigurableBootstrapContext
shared across allEnvironmentPostProcessors
.Provides access to the parentConfigDataResource
that triggered the resolve ornull
if there is no available parent.
-
方法详细资料
-
getBinder
Binder getBinder()Provides access to a binder that can be used to obtain previously contributed values.- 返回:
- a binder instance
-
getParent
ConfigDataResource getParent()Provides access to the parentConfigDataResource
that triggered the resolve ornull
if there is no available parent.- 返回:
- the parent location
-
getBootstrapContext
ConfigurableBootstrapContext getBootstrapContext()Provides access to theConfigurableBootstrapContext
shared across allEnvironmentPostProcessors
.- 返回:
- the bootstrap context
-