From dea04353881d932442e8ecea64636dccaaeb835d Mon Sep 17 00:00:00 2001 From: buildmaster Date: Tue, 3 Mar 2020 22:56:07 +0000 Subject: [PATCH] Sync docs from 2.2.x to gh-pages --- 2.2.x/reference/html/index.html | 10 +++++----- 2.2.x/reference/html/spring-cloud-commons.html | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/2.2.x/reference/html/index.html b/2.2.x/reference/html/index.html index 5ecf0b04..e586ede0 100644 --- a/2.2.x/reference/html/index.html +++ b/2.2.x/reference/html/index.html @@ -491,16 +491,16 @@ Then, the next time something borrows a connection from the pool, it gets one wi

Sometimes, it might even be mandatory to apply the @RefreshScope annotation on some beans that can be only initialized once. If a bean is “immutable”, you have to either annotate the bean with @RefreshScope or specify the classname under the property key: spring.cloud.refresh.extra-refreshable.

-
+
- + -If you create a DataSource bean yourself and the implementation is a HikariDataSource, return the -most specific type, in this case HikariDataSource. Otherwise, you need to set -spring.cloud.refresh.extra-refreshable=javax.sql.DataSource. +If you hava a DataSource bean that is a HikariDataSource, it can not be +refreshed. It is the default value for spring.cloud.refresh.never-refreshable. Choose a +different DataSource implementation if you need it to be refreshed.
diff --git a/2.2.x/reference/html/spring-cloud-commons.html b/2.2.x/reference/html/spring-cloud-commons.html index 5ecf0b04..e586ede0 100644 --- a/2.2.x/reference/html/spring-cloud-commons.html +++ b/2.2.x/reference/html/spring-cloud-commons.html @@ -491,16 +491,16 @@ Then, the next time something borrows a connection from the pool, it gets one wi

Sometimes, it might even be mandatory to apply the @RefreshScope annotation on some beans that can be only initialized once. If a bean is “immutable”, you have to either annotate the bean with @RefreshScope or specify the classname under the property key: spring.cloud.refresh.extra-refreshable.

-
+
- + -If you create a DataSource bean yourself and the implementation is a HikariDataSource, return the -most specific type, in this case HikariDataSource. Otherwise, you need to set -spring.cloud.refresh.extra-refreshable=javax.sql.DataSource. +If you hava a DataSource bean that is a HikariDataSource, it can not be +refreshed. It is the default value for spring.cloud.refresh.never-refreshable. Choose a +different DataSource implementation if you need it to be refreshed.