Skip to content

Commit 33b6761

Browse files
committed
Polish note about @ConfigurationProperties can't be refreshed.
Signed-off-by: Yanming Zhou <[email protected]>
1 parent 2904285 commit 33b6761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/modules/ROOT/pages/spring-cloud-commons/application-context-services.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ For instance, a `DataSource` can have its `maxPoolSize` changed at runtime (the
173173
Re-binding `@ConfigurationProperties` does not cover another large class of use cases, where you need more control over the refresh and where you need a change to be atomic over the whole `ApplicationContext`.
174174
To address those concerns, we have `@RefreshScope`.
175175

176-
NOTE: Java Records annotated with `@ConfigurationProperties` cannot be refreshed.
176+
NOTE: Value objects using constructor binding including Java Records annotated with `@ConfigurationProperties` cannot be refreshed.
177177

178178
[[refresh-scope]]
179179
== Refresh Scope

0 commit comments

Comments
 (0)