title: How to get values from property-file into Map using Spring framework?
body: <p>For now I could inject values from property-files:</p>
  
  <pre><code>@Value("${aaa.prop}")
  public String someProp;
  </code></pre>
  
  <p>But I want something more...</p>
  
  <p>For example I have some property file:</p>
  
  <pre><code>aaa.props=p1,p2,p3
  aaa.props.p1=qwe
  aaa.props.p2=asd
  aaa.props.p3=zxc
  </code></pre>
  
  <p>I know for sure, that it contains property <code>aaa.props</code>, and know nothing about other properties. And I want to get this properties in to map using code like this:</p>
  
  <pre><code>@Value ("${aaa.props}") 
  public Map&lt;String, String&gt; someProps;
  </code></pre>
  
  <p>Resulting someProps: <code>{p1=qwe,p2=asd,p3=zxc}</code></p>