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.
PropertySourceDescriptor
| Modifier and Type | Field and Description |
|---|---|
| private static final PropertySourceFactory | |
| private final ConfigurableEnvironment | |
| private static final Log | |
| private final List | |
| private final ResourcePatternResolver |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private static PropertySourceFactory | |
| private static boolean | isIgnorableException(Throwable ex)
Determine if the supplied exception can be ignored according to
|
| public void | processPropertySource(PropertySourceDescriptor
the descriptor to process descriptor)Process the specified |
| defaultPropertySourceFactory | back to summary |
|---|---|
| private static final PropertySourceFactory defaultPropertySourceFactory | |
| environment | back to summary |
|---|---|
| private final ConfigurableEnvironment environment | |
| logger | back to summary |
|---|---|
| private static final Log logger | |
| propertySourceNames | back to summary |
|---|---|
| private final List<String> propertySourceNames | |
| resourcePatternResolver | back to summary |
|---|---|
| private final ResourcePatternResolver resourcePatternResolver | |
| PropertySourceProcessor | back to summary |
|---|---|
| public PropertySourceProcessor(ConfigurableEnvironment environment, ResourceLoader resourceLoader) | |
| addPropertySource | back to summary |
|---|---|
| private void addPropertySource(PropertySource<?> propertySource) | |
| instantiateClass | back to summary |
|---|---|
| private static PropertySourceFactory instantiateClass(Class<? extends PropertySourceFactory> type) | |
| isIgnorableException | back to summary |
|---|---|
| private static boolean isIgnorableException(Throwable ex) Determine if the supplied exception can be ignored according to
| |
| processPropertySource | back to summary |
|---|---|
| public void processPropertySource(PropertySourceDescriptor descriptor) throws IOException Process the specified
| |