public abstract class AbstractConnectionSourceFactory<T, S extends ConnectionSourceSettings> extends java.lang.Object implements ConnectionSourceFactory
Abstract implementation of the ConnectionSourceFactory interface
Modifiers | Name | Description |
---|---|---|
private java.util.List<CustomTypeMarshaller> |
customTypes |
|
private TenantResolver |
tenantResolver |
Type Params | Return Type | Name and description |
---|---|---|
<F extends ConnectionSourceSettings> |
public S |
buildRuntimeSettings(java.lang.String name, org.springframework.core.env.PropertyResolver configuration, F fallbackSettings) |
<F extends ConnectionSourceSettings> |
protected abstract S |
buildSettings(java.lang.String name, org.springframework.core.env.PropertyResolver configuration, F fallbackSettings, boolean isDefaultDataSource) |
|
public ConnectionSource<T, S> |
create(java.lang.String name, org.springframework.core.env.PropertyResolver configuration) |
|
public ConnectionSource<T, S> |
create(java.lang.String name, org.springframework.core.env.PropertyResolver configuration, ConnectionSource<T, S> fallbackConnectionSource) |
<F extends ConnectionSourceSettings> |
public final ConnectionSource<T, S> |
create(java.lang.String name, org.springframework.core.env.PropertyResolver configuration, F fallbackSettings) |
|
public ConnectionSource<T, S> |
createRuntime(java.lang.String name, org.springframework.core.env.PropertyResolver configuration, S fallbackSettings) |
|
public void |
setCustomTypes(java.util.List<CustomTypeMarshaller> customTypes) The custom user types to register |
|
public void |
setTenantResolver(TenantResolver tenantResolver) The tenant resolver to use |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The custom user types to register
customTypes
- The custom user typesThe tenant resolver to use
tenantResolver
- The tenant resolver