From 16465a36d5146b5c38aeabbc594a7a22e4e6352d Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Fri, 15 Jun 2018 13:55:09 -0400 Subject: [PATCH] Adds anchor --- docs/src/main/asciidoc/spring-cloud-commons.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/main/asciidoc/spring-cloud-commons.adoc b/docs/src/main/asciidoc/spring-cloud-commons.adoc index 93534e2e..db605322 100644 --- a/docs/src/main/asciidoc/spring-cloud-commons.adoc +++ b/docs/src/main/asciidoc/spring-cloud-commons.adoc @@ -166,6 +166,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`. +[[refresh-scope]] === Refresh Scope When there is a configuration change, a Spring `@Bean` that is marked as `@RefreshScope` gets special treatment.