title: Reading entire property file loaded by PropertySource in spring bean
body: <p>I've a spring bean which loads the property file depending upon their availability as shown below:-</p>
  
  <pre><code>@PropertySources({ @PropertySource(value = "classpath:user.properties"),
  @PropertySource(value = "file:./config/user.properties", ignoreResourceNotFound = true) })
  </code></pre>
  
  <p>The property file is getting loaded, but when I try to read entire property file in one go via :-</p>
  
  <pre><code>Properties properties = PropertiesLoaderUtils.loadAllProperties("user.properties");
  </code></pre>
  
  <p>then I only get the properties from classpath. Do spring provide any mechanism to read all properties in one go? </p>