From 13b155eb2a3c99d391fa8d83fc128b96f1ebdad9 Mon Sep 17 00:00:00 2001 From: Kedar Joshi Date: Tue, 23 Apr 2019 11:20:48 +0530 Subject: [PATCH] Document use of @Profile with @ConfigurationProperties scanning See gh-16612 --- .../src/main/asciidoc/spring-boot-features.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index c289788c68c..f2894f72e12 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -1625,9 +1625,9 @@ property files>>. [[boot-features-profiles]] == Profiles Spring Profiles provide a way to segregate parts of your application configuration and -make it be available only in certain environments. Any `@Component` or `@Configuration` -can be marked with `@Profile` to limit when it is loaded, as shown in the following -example: +make it be available only in certain environments. Any `@Component`, `@Configuration` +or `@ConfigurationProperties` can be marked with `@Profile` to limit when it is loaded, +as shown in the following example: [source,java,indent=0] ----