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.
|
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.
|