Open
Description
Originally raised on the SPR issue tracker:
https://jira.springsource.org/browse/SPR-11289
@ConfigurationProperties
objects should have some mechanism for allowing some or all properties to be read from a propertySource on each get invocation. It seems like instead of injected a concrete implementation into the AppContext we should inject a proxy for the Config object which can reference the Environment abstraction.
The usecase for this would be when we have implemented a custom PropertySource which is aware of property changes.