Package org.springframework.boot.context.config
package org.springframework.boot.context.config
External configuration support allowing 'application.properties' to be loaded and used
within a Spring Boot application.
- See Also:
-
ClassDescriptionAn
ApplicationListener
that configuresAnsiOutput
depending on the value of the propertyspring.output.ansi.enabled
.Configuration data that has been loaded from aConfigDataResource
and may ultimately contributeproperty sources
to Spring'sEnvironment
.Option flags that can be applied.A set ofConfigData.Option
flags.Strategy interface used to supplyConfigData.Options
for a givenPropertySource
.Abstract base class for configuration data exceptions.ConfigDataLoader<R extends ConfigDataResource>Strategy class that can be used to loadConfigData
for a givenConfigDataResource
.Context provided toConfigDataLoader
methods.A user specified location that can beresolved
to one or moreconfig data resources
.ConfigDataNotFoundException
thrown when aConfigDataLocation
cannot be found.ConfigDataLocationResolver<R extends ConfigDataResource>Context provided toConfigDataLocationResolver
methods.Action to take when an uncaughtConfigDataNotFoundException
is thrown.ConfigDataNotFoundException
thrown when aConfigData
cannot be found.A single resource from whichConfigData
can be loaded.ConfigDataNotFoundException
thrown when aConfigDataResource
cannot be found.ConfigDataLoader
for config tree locations.ConfigDataLocationResolver
for config tree locations.ConfigDataResource
backed by a config tree directory.Deprecated, for removal: This API element is subject to removal in a future version.since 3.2.0 for removal in 3.4.0 as property based initialization is no longer recommendedDeprecated, for removal: This API element is subject to removal in a future version.since 3.2.0 for removal in 3.4.0 as property based initialization is no longer recommendedException thrown when an attempt is made to resolve a property against an inactiveConfigData
property source.Exception thrown if an invalid property is found when processing config data.Provides access to environment profiles that have either been set directly on theEnvironment
or will be set based on configuration data property values.ConfigDataLoader
forResource
backed locations.ConfigDataLocationResolver
for standard locations.ConfigDataResource
backed by aResource
.Exception throw if aConfigDataLocation
is not supported.