Skip to content

Commit

Permalink
Polish note about @ConfigurationProperties can't be refreshed.
Browse files Browse the repository at this point in the history
Signed-off-by: Yanming Zhou <[email protected]>
  • Loading branch information
quaff committed Feb 7, 2025
1 parent 2904285 commit 05baf72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ For instance, a `DataSource` can have its `maxPoolSize` changed at runtime (the
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`.
To address those concerns, we have `@RefreshScope`.

NOTE: Java Records annotated with `@ConfigurationProperties` cannot be refreshed.
NOTE: Value objects including Java Records annotated with `@ConfigurationProperties` cannot be refreshed.

[[refresh-scope]]
== Refresh Scope
Expand Down

0 comments on commit 05baf72

Please sign in to comment.