-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement
Description
Overview
CompositePropertySource
currently supports adding individual PropertySource
instances via its addPropertySource(PropertySource<?>)
and addFirstPropertySource(PropertySource<?>)
methods; however, there is no way to construct a new CompositePropertySource
from an existing collection of property sources, such as an instance of MutablePropertySources
.
To support such use cases, we should introduce a CompositePropertySource(String, Iterable<PropertySource<?>>)
constructor, where Iterable<PropertySource<?>>
supports collections as well as PropertySources
implementations.
Related Issues
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement