Models a ConnectionSources object that only supports a single connection
Modifiers | Name | Description |
---|---|---|
static class |
SingletonConnectionSources.NullConnectionFactory |
Fields inherited from class | Fields |
---|---|
class AbstractConnectionSources |
configuration, connectionSourceFactory, defaultConnectionSource, listeners |
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) |
Methods inherited from class | Name |
---|---|
class AbstractConnectionSources |
addConnectionSource, addListener, close, getBaseConfiguration, getConnectionSourceNames, getDefaultConnectionSource, getFactory, iterator, toValidConnectionSourceNames |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |