@groovy.transform.CompileStatic class SingletonConnectionSources<T, S extends ConnectionSourceSettings> extends AbstractConnectionSources<T, S>
Models a ConnectionSources object that only supports a single connection
Modifiers | Name | Description |
---|---|---|
static class |
SingletonConnectionSources.NullConnectionFactory |
Constructor and description |
---|
SingletonConnectionSources
(ConnectionSource<T, S> connectionSource, org.springframework.core.env.PropertyResolver configuration) |
Type Params | Return Type | Name and description |
---|---|---|
|
ConnectionSource<T, S> |
addConnectionSource(java.lang.String name, org.springframework.core.env.PropertyResolver configuration) |
|
java.lang.Iterable<ConnectionSource<T, S>> |
getAllConnectionSources() |
|
ConnectionSource<T, S> |
getConnectionSource(java.lang.String name) |
|
protected java.lang.Iterable<java.lang.String> |
getConnectionSourceNames(ConnectionSourceFactory<T, S> connectionSourceFactory, org.springframework.core.env.PropertyResolver configuration) |