Package | Description |
---|---|
org.springframework.boot.context.config |
External configuration support allowing 'application.properties' to be loaded and used
within a Spring Boot application.
|
Modifier and Type | Method and Description |
---|---|
ConfigDataLocation |
UnsupportedConfigDataLocationException.getLocation()
Return the unsupported location reference.
|
ConfigDataLocation |
ConfigDataLocationNotFoundException.getLocation()
Return the location that could not be found.
|
ConfigDataLocation |
ConfigDataResourceNotFoundException.getLocation()
Return the original location that was resolved to determine the resource.
|
static ConfigDataLocation |
ConfigDataLocation.of(String location)
Factory method to create a new
ConfigDataLocation from a string. |
Modifier and Type | Method and Description |
---|---|
boolean |
StandardConfigDataLocationResolver.isResolvable(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
boolean |
ConfigTreeConfigDataLocationResolver.isResolvable(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
boolean |
ConfigDataLocationResolver.isResolvable(ConfigDataLocationResolverContext context,
ConfigDataLocation location)
Returns if the specified location address can be resolved by this resolver.
|
default void |
ConfigDataEnvironmentUpdateListener.onPropertySourceAdded(PropertySource<?> propertySource,
ConfigDataLocation location,
ConfigDataResource resource)
Called when a new
PropertySource is added to the Environment . |
List<StandardConfigDataResource> |
StandardConfigDataLocationResolver.resolve(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
List<ConfigTreeConfigDataResource> |
ConfigTreeConfigDataLocationResolver.resolve(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
List<R> |
ConfigDataLocationResolver.resolve(ConfigDataLocationResolverContext context,
ConfigDataLocation location)
Resolve a
ConfigDataLocation into one or more ConfigDataResource
instances. |
List<StandardConfigDataResource> |
StandardConfigDataLocationResolver.resolveProfileSpecific(ConfigDataLocationResolverContext context,
ConfigDataLocation location,
Profiles profiles) |
default List<R> |
ConfigDataLocationResolver.resolveProfileSpecific(ConfigDataLocationResolverContext context,
ConfigDataLocation location,
Profiles profiles)
Resolve a
ConfigDataLocation into one or more ConfigDataResource
instances based on available profiles. |
Constructor and Description |
---|
ConfigDataLocationNotFoundException(ConfigDataLocation location)
Create a new
ConfigDataLocationNotFoundException instance. |
ConfigDataLocationNotFoundException(ConfigDataLocation location,
Throwable cause)
Create a new
ConfigDataLocationNotFoundException instance. |