I need to load some properties into a Spring context from a location that I don\'t know until the program runs.
So I thought that if I had a PropertyPlaceholderConf
You can do this with a slightly different approach. Here is how we configure it. I load default properties and then overrided them with properties from a configurable location. This works very well for me.
classpath:site/properties/default/placeholder.properties
classpath:site/properties/${env.name}/placeholder.properties