Uses of Class
org.springframework.boot.context.config.ConfigDataResource
Packages that use ConfigDataResource
Package
Description
External configuration support allowing 'application.properties' to be loaded and used
within a Spring Boot application.
-
Uses of ConfigDataResource in org.springframework.boot.context.config
Classes in org.springframework.boot.context.config with type parameters of type ConfigDataResourceModifier and TypeInterfaceDescriptioninterface
ConfigDataLoader<R extends ConfigDataResource>
Strategy class that can be used to loadConfigData
for a givenConfigDataResource
.interface
ConfigDataLocationResolver<R extends ConfigDataResource>
Subclasses of ConfigDataResource in org.springframework.boot.context.configModifier and TypeClassDescriptionclass
ConfigDataResource
backed by a config tree directory.class
ConfigDataResource
backed by aResource
.Methods in org.springframework.boot.context.config that return ConfigDataResourceModifier and TypeMethodDescription@Nullable ConfigDataResource
InactiveConfigDataAccessException.getLocation()
Return theConfigDataResource
of the property source ornull
if the source was not loaded fromConfigData
.@Nullable ConfigDataResource
InvalidConfigDataPropertyException.getLocation()
Return theConfigDataResource
of the invalid property ornull
if the source was not loaded fromConfigData
.@Nullable ConfigDataResource
ConfigDataLocationResolverContext.getParent()
Provides access to the parentConfigDataResource
that triggered the resolve ornull
if there is no available parent.ConfigDataResourceNotFoundException.getResource()
Return the resource that could not be found.Methods in org.springframework.boot.context.config with parameters of type ConfigDataResourceModifier and TypeMethodDescriptiondefault void
ConfigDataEnvironmentUpdateListener.onPropertySourceAdded
(PropertySource<?> propertySource, @Nullable ConfigDataLocation location, @Nullable ConfigDataResource resource) Called when a newPropertySource
is added to theEnvironment
.static void
ConfigDataResourceNotFoundException.throwIfDoesNotExist
(ConfigDataResource resource, File fileToCheck) Throw aConfigDataNotFoundException
if the specifiedFile
does not exist.static void
ConfigDataResourceNotFoundException.throwIfDoesNotExist
(ConfigDataResource resource, Path pathToCheck) Throw aConfigDataNotFoundException
if the specifiedPath
does not exist.static void
ConfigDataResourceNotFoundException.throwIfDoesNotExist
(ConfigDataResource resource, Resource resourceToCheck) Throw aConfigDataNotFoundException
if the specifiedResource
does not exist.Constructors in org.springframework.boot.context.config with parameters of type ConfigDataResourceModifierConstructorDescriptionCreate a newConfigDataResourceNotFoundException
instance.ConfigDataResourceNotFoundException
(ConfigDataResource resource, @Nullable Throwable cause) Create a newConfigDataResourceNotFoundException
instance.