public interface PropertySourceLoader extends Toggleable, PropertySourceLocator, PropertySourceReader
| Modifier and Type | Method and Description | 
|---|---|
| default Optional<PropertySource> | load(Environment environment)Load a  PropertySourcefor the givenEnvironment. | 
| Optional<PropertySource> | load(String resourceName,
    ResourceLoader resourceLoader)Load a  PropertySourcefor the givenEnvironment. | 
| Optional<PropertySource> | loadEnv(String resourceName,
       ResourceLoader resourceLoader,
       ActiveEnvironment activeEnvironment)Load a  PropertySourcefor the givenEnvironment. | 
isEnabledgetExtensions, read, readdefault Optional<PropertySource> load(Environment environment)
PropertySource for the given Environment.load in interface PropertySourceLocatorenvironment - The environmentPropertySourceOptional<PropertySource> load(String resourceName, ResourceLoader resourceLoader)
PropertySource for the given Environment.resourceName - The resourceName of the resource to loadresourceLoader - The ResourceLoader to retrieve the resourcePropertySourceOptional<PropertySource> loadEnv(String resourceName, ResourceLoader resourceLoader, ActiveEnvironment activeEnvironment)
PropertySource for the given Environment.resourceName - The resourceName of the resource to loadresourceLoader - The ResourceLoader to retrieve the resourceactiveEnvironment - The environment to loadPropertySource