mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Link to application properties section from externalized config list
Closes gh-22262
This commit is contained in:
parent
4e79bb1cff
commit
66987533d1
@ -367,8 +367,8 @@ Properties are considered in the following order:
|
||||
. A `RandomValuePropertySource` that has properties only in `+random.*+`.
|
||||
. <<boot-features-external-config-profile-specific-properties,Profile-specific application properties>> outside of your packaged jar (`application-\{profile}.properties` and YAML variants).
|
||||
. <<boot-features-external-config-profile-specific-properties,Profile-specific application properties>> packaged inside your jar (`application-\{profile}.properties` and YAML variants).
|
||||
. Application properties outside of your packaged jar (`application.properties` and YAML variants).
|
||||
. Application properties packaged inside your jar (`application.properties` and YAML variants).
|
||||
. <<boot-features-external-config-application-property-files,Application properties>> outside of your packaged jar (`application.properties` and YAML variants).
|
||||
. <<boot-features-external-config-application-property-files,Application properties>> packaged inside your jar (`application.properties` and YAML variants).
|
||||
. {spring-framework-api}/context/annotation/PropertySource.html[`@PropertySource`] annotations on your `@Configuration` classes.
|
||||
Please note that such property sources are not added to the `Environment` until the application context is being refreshed.
|
||||
This is too late to configure certain properties such as `+logging.*+` and `+spring.main.*+` which are read before refresh begins.
|
||||
|
Loading…
Reference in New Issue
Block a user