Skip to content

Add @PropertySources annotation and support ignoreResourceNotFound [SPR-8371] #13018

@spring-projects-issues

Description

@spring-projects-issues

Chris Beams opened SPR-8371 and commented

As of 3.1 M2, the @PropertySource annotation allows for declarative registration of property sources against the enclosing Environment. However, it does not allow for manipulation of property source ordering. This (if desired at all) must be done against the ConfigurableEnvironment#getPropertySources() MutablePropertySources API.

This issue exists to gauge interest in this feature (read: collect votes). Please be specific about use cases in order to assess whether such an enhancement truly represents a general need.

If interest is sufficient, we'll consider this for 3.1 RC1.


Affects: 3.1 M2

Issue Links:

Referenced from: commits e95bd9e

12 votes, 17 watchers

Metadata

Metadata

Assignees

Labels

has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importtype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions