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 |
ConfigDataLocationNotFoundException.getLocation()
Return the location that could not be found.
|
ConfigDataLocation |
UnsupportedConfigDataLocationException.getLocation()
Return the unsupported location reference.
|
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 |
ConfigDataLocationResolver.isResolvable(ConfigDataLocationResolverContext context,
ConfigDataLocation location)
Returns if the specified location address can be resolved by this resolver.
|
boolean |
ConfigTreeConfigDataLocationResolver.isResolvable(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
boolean |
StandardConfigDataLocationResolver.isResolvable(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
default void |
ConfigDataEnvironmentUpdateListener.onPropertySourceAdded(PropertySource<?> propertySource,
ConfigDataLocation location,
ConfigDataResource resource)
Called when a new
PropertySource is added to the Environment . |
List<R> |
ConfigDataLocationResolver.resolve(ConfigDataLocationResolverContext context,
ConfigDataLocation location)
Resolve a
ConfigDataLocation into one or more ConfigDataResource
instances. |
List<ConfigTreeConfigDataResource> |
ConfigTreeConfigDataLocationResolver.resolve(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
List<StandardConfigDataResource> |
StandardConfigDataLocationResolver.resolve(ConfigDataLocationResolverContext context,
ConfigDataLocation location) |
default List<R> |
ConfigDataLocationResolver.resolveProfileSpecific(ConfigDataLocationResolverContext context,
ConfigDataLocation location,
Profiles profiles)
Resolve a
ConfigDataLocation into one or more ConfigDataResource
instances based on available profiles. |
List<StandardConfigDataResource> |
StandardConfigDataLocationResolver.resolveProfileSpecific(ConfigDataLocationResolverContext context,
ConfigDataLocation location,
Profiles profiles) |
Constructor and Description |
---|
ConfigDataLocationNotFoundException(ConfigDataLocation location)
Create a new
ConfigDataLocationNotFoundException instance. |
ConfigDataLocationNotFoundException(ConfigDataLocation location,
Throwable cause)
Create a new
ConfigDataLocationNotFoundException instance. |