When configuring PropertyPlaceholderConfigurer bean, the "locations" value can use property resolvable variable, but only if it defined in System properties ONLY. If not defined, it errors out. It would be very useful to have it also lookup an defined Map in another bean within the context that provide default values.
I notice that we can do this on other bean definitions after a PropertyPlaceholderConfigurer has been setup, but the "locations" properties of PropertyPlaceholderConfigurer bean itself is not configurable, which is a shame.
Can we add this improvement?
There is a also a forum topic created, but no one replied