From 33b676109cbad4420a1747c9eabd0922522b9462 Mon Sep 17 00:00:00 2001 From: Yanming Zhou Date: Fri, 7 Feb 2025 11:16:19 +0800 Subject: [PATCH] Polish note about @ConfigurationProperties can't be refreshed. Signed-off-by: Yanming Zhou --- .../spring-cloud-commons/application-context-services.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/spring-cloud-commons/application-context-services.adoc b/docs/modules/ROOT/pages/spring-cloud-commons/application-context-services.adoc index 151cff399..0d12493e5 100644 --- a/docs/modules/ROOT/pages/spring-cloud-commons/application-context-services.adoc +++ b/docs/modules/ROOT/pages/spring-cloud-commons/application-context-services.adoc @@ -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 using constructor binding including Java Records annotated with `@ConfigurationProperties` cannot be refreshed. [[refresh-scope]] == Refresh Scope