|
|
|
@ -72,12 +72,13 @@ import org.springframework.util.StringUtils;
|
|
|
|
|
/**
|
|
|
|
|
* {@link EnvironmentPostProcessor} that configures the context environment by loading
|
|
|
|
|
* properties from well known file locations. By default properties will be loaded from
|
|
|
|
|
* 'application.properties' and/or 'application.yml' files in the following locations:
|
|
|
|
|
* 'application.properties' and/or 'application.yml' files in the following locations
|
|
|
|
|
* ordered by the search order:
|
|
|
|
|
* <ul>
|
|
|
|
|
* <li>classpath:</li>
|
|
|
|
|
* <li>file:./config/:</li>
|
|
|
|
|
* <li>file:./</li>
|
|
|
|
|
* <li>classpath:config/</li>
|
|
|
|
|
* <li>file:./config/:</li>
|
|
|
|
|
* <li>classpath:</li>
|
|
|
|
|
* </ul>
|
|
|
|
|
* <p>
|
|
|
|
|
* Alternative search locations and names can be specified using
|
|
|
|
|