Interface ConfigDataLocationResolverContext
public interface ConfigDataLocationResolverContext
Context provided to
ConfigDataLocationResolver
methods.- Since:
- 2.4.0
- Author:
- Phillip Webb, Madhura Bhave
-
Method Summary
Modifier and TypeMethodDescriptionProvides access to a binder that can be used to obtain previously contributed values.Provides access to theConfigurableBootstrapContext
shared across allEnvironmentPostProcessors
.@Nullable ConfigDataResource
Provides access to the parentConfigDataResource
that triggered the resolve ornull
if there is no available parent.
-
Method Details
-
getBinder
Binder getBinder()Provides access to a binder that can be used to obtain previously contributed values.- Returns:
- a binder instance
-
getParent
@Nullable ConfigDataResource getParent()Provides access to the parentConfigDataResource
that triggered the resolve ornull
if there is no available parent.- Returns:
- the parent location
-
getBootstrapContext
ConfigurableBootstrapContext getBootstrapContext()Provides access to theConfigurableBootstrapContext
shared across allEnvironmentPostProcessors
.- Returns:
- the bootstrap context
-