I am aware that @PropertySource will add the property source to the environment.
Shouldn't declaring the properties in XML:
do the same?
<context:property-placeholder location="classpath*:*some.properties" />
As far as I can tell, the property sources defined as such are not actually added to the envirnment - accessing them via the Environment directly doesn't resolve them.
Am I missing some vital part of the configuration in order to get these into the environement as well?