Top Description Fields Constructors Methods
org.springframework.context.annotation

pack-priv Class PropertySourceRegistry

extends Object
Class Inheritance
Imports
java.io.IOException, java.util.ArrayList, .Arrays, .Collections, .List, org.springframework.core.annotation.AnnotationAttributes, org.springframework.core.io.support.PropertySourceDescriptor, .PropertySourceFactory, .PropertySourceProcessor, org.springframework.util.Assert, .StringUtils

Registry of PropertySource processed on configuration classes.
Author
Stephane Nicoll
Since
6.0
See Also
PropertySourceDescriptor

Field Summary

Modifier and TypeField and Description
private final List<PropertySourceDescriptor>
private final PropertySourceProcessor

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<PropertySourceDescriptor>
pack-priv void
processPropertySource(AnnotationAttributes
metadata for the @PropertySource annotation found
propertySource
)

Process the given @PropertySource annotation metadata.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

descriptorsback to summary
private final List<PropertySourceDescriptor> descriptors
propertySourceProcessorback to summary
private final PropertySourceProcessor propertySourceProcessor

Constructor Detail

PropertySourceRegistryback to summary
public PropertySourceRegistry(PropertySourceProcessor propertySourceProcessor)

Method Detail

getDescriptorsback to summary
public List<PropertySourceDescriptor> getDescriptors()
processPropertySourceback to summary
pack-priv void processPropertySource(AnnotationAttributes propertySource) throws IOException

Process the given @PropertySource annotation metadata.

Parameters
propertySource:AnnotationAttributes

metadata for the @PropertySource annotation found

Exceptions
IOException:
if loading a property source failed