Browse Source

Adds anchor

pull/395/head
Spencer Gibb 7 years ago
parent
commit
16465a36d5
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 1
      docs/src/main/asciidoc/spring-cloud-commons.adoc

1
docs/src/main/asciidoc/spring-cloud-commons.adoc

@ -166,6 +166,7 @@ For instance, a `DataSource` can have its `maxPoolSize` changed at runtime (the @@ -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.

Loading…
Cancel
Save