title: Can Spring Parse and Inject Properties Files?
body: <p>I already know how to:</p>
  
  <p>Load properties files into my Spring configuration using:</p>
  
  <pre><code>&lt;context:property-placeholder location="aaa/bbb/ccc/stuff.properties"/&gt; 
  </code></pre>
  
  <p>Build properties objects on the fly using:</p>
  
  <pre><code>&lt;props&gt;&lt;prop key="abc"&gt;some value&lt;/prop&gt;&lt;/props&gt;
  </code></pre>
  
  <p>But what I cant do, and would be really useful, is to have Spring load a properties file and then build the matching properties object. I could then inject this into a bean in the normal way. </p>
  
  <p>I've searched for this elsewhere without success. Any ideas?</p>