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 TypeInterfaceDescriptioninterfaceConfigDataLoader<R extends ConfigDataResource>Strategy class that can be used to loadConfigDatafor a givenConfigDataResource.interfaceConfigDataLocationResolver<R extends ConfigDataResource>Subclasses of ConfigDataResource in org.springframework.boot.context.configModifier and TypeClassDescriptionclassConfigDataResourcebacked by a config tree directory.classConfigDataResourcebacked by aResource.Methods in org.springframework.boot.context.config that return ConfigDataResourceModifier and TypeMethodDescriptionInactiveConfigDataAccessException.getLocation()Return theConfigDataResourceof the property source ornullif the source was not loaded fromConfigData.InvalidConfigDataPropertyException.getLocation()Return theConfigDataResourceof the invalid property ornullif the source was not loaded fromConfigData.ConfigDataLocationResolverContext.getParent()Provides access to the parentConfigDataResourcethat triggered the resolve ornullif 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 voidConfigDataEnvironmentUpdateListener.onPropertySourceAdded(PropertySource<?> propertySource, ConfigDataLocation location, ConfigDataResource resource) Called when a newPropertySourceis added to theEnvironment.static voidConfigDataResourceNotFoundException.throwIfDoesNotExist(ConfigDataResource resource, File fileToCheck) Throw aConfigDataNotFoundExceptionif the specifiedFiledoes not exist.static voidConfigDataResourceNotFoundException.throwIfDoesNotExist(ConfigDataResource resource, Path pathToCheck) Throw aConfigDataNotFoundExceptionif the specifiedPathdoes not exist.static voidConfigDataResourceNotFoundException.throwIfDoesNotExist(ConfigDataResource resource, Resource resourceToCheck) Throw aConfigDataNotFoundExceptionif the specifiedResourcedoes not exist.Constructors in org.springframework.boot.context.config with parameters of type ConfigDataResourceModifierConstructorDescriptionCreate a newConfigDataResourceNotFoundExceptioninstance.ConfigDataResourceNotFoundException(ConfigDataResource resource, Throwable cause) Create a newConfigDataResourceNotFoundExceptioninstance.