spring-framework / org.springframework.jdbc.datasource.lookup / MapDataSourceLookup / setDataSources

setDataSources

open fun setDataSources(@Nullable dataSources: MutableMap<String, DataSource>): Unit

Set the Map of DataSource; the keys are String, the values are actual DataSource instances.

If the supplied Map is null, then this method call effectively has no effect.

Parameters

dataSources - said Map of DataSource