Class PropertySourceProcessor
java.lang.Object
org.springframework.core.io.support.PropertySourceProcessor
Contribute
property sources
to the Environment
.
This class is stateful and merges descriptors with the same name in a
single PropertySource
rather than creating dedicated ones.
- Since:
- 6.0
- Author:
- Stephane Nicoll, Sam Brannen, Juergen Hoeller
- See Also:
-
Constructor Summary
ConstructorDescriptionPropertySourceProcessor
(ConfigurableEnvironment environment, ResourceLoader resourceLoader) -
Method Summary
Modifier and TypeMethodDescriptionvoid
processPropertySource
(PropertySourceDescriptor descriptor) Process the specifiedPropertySourceDescriptor
against the environment managed by this instance.
-
Constructor Details
-
PropertySourceProcessor
-
-
Method Details
-
processPropertySource
Process the specifiedPropertySourceDescriptor
against the environment managed by this instance.- Parameters:
descriptor
- the descriptor to process- Throws:
IOException
- if loading the properties failed
-