Skip to content

Commit 13b155e

Browse files
kedar-joshimbhave
authored andcommitted
Document use of @Profile with @ConfigurationProperties scanning
See gh-16612
1 parent dc39540 commit 13b155e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,9 +1625,9 @@ property files>>.
16251625
[[boot-features-profiles]]
16261626
== Profiles
16271627
Spring Profiles provide a way to segregate parts of your application configuration and
1628-
make it be available only in certain environments. Any `@Component` or `@Configuration`
1629-
can be marked with `@Profile` to limit when it is loaded, as shown in the following
1630-
example:
1628+
make it be available only in certain environments. Any `@Component`, `@Configuration`
1629+
or `@ConfigurationProperties` can be marked with `@Profile` to limit when it is loaded,
1630+
as shown in the following example:
16311631

16321632
[source,java,indent=0]
16331633
----

0 commit comments

Comments
 (0)