public class CachedDataSourceConnectionSourceFactory extends DataSourceConnectionSourceFactory
Extends DataSourceConnectionSourceFactory and caches the created DataSourceConnectionSource instances ensuring they are singletons
Modifiers | Name | Description |
---|---|---|
private java.util.Map<java.lang.String, ConnectionSource<javax.sql.DataSource, DataSourceSettings>> |
dataSources |
Fields inherited from class | Fields |
---|---|
class AbstractConnectionSourceFactory |
customTypes, tenantResolver |
Type Params | Return Type | Name and description |
---|---|---|
|
public ConnectionSource<javax.sql.DataSource, DataSourceSettings> |
create(java.lang.String name, org.springframework.core.env.PropertyResolver configuration) |
|
public ConnectionSource<javax.sql.DataSource, DataSourceSettings> |
create(java.lang.String name, DataSourceSettings settings) |
Methods inherited from class | Name |
---|---|
class DataSourceConnectionSourceFactory |
buildSettings, create, getConnectionSourcesConfigurationKey, proxy |
class AbstractConnectionSourceFactory |
buildRuntimeSettings, buildSettings, create, create, create, createRuntime, setCustomTypes, setTenantResolver |