A static non-mutable implementation for existing for a set of existing ConnectionSource instances
Modifiers | Name | Description |
---|---|---|
protected java.util.Map<java.lang.String, ConnectionSource<T, S>> |
connectionSourceMap |
Fields inherited from class | Fields |
---|---|
class AbstractConnectionSources |
configuration, connectionSourceFactory, defaultConnectionSource, listeners |
Constructor and description |
---|
StaticConnectionSources
(ConnectionSource<T, S> defaultConnectionSource, java.lang.Iterable<ConnectionSource<T, S>> otherConnectionSources, org.springframework.core.env.PropertyResolver configuration = DatastoreUtils.createPropertyResolver(null) |
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) |
|
java.util.Iterator<ConnectionSource<T, S>> |
iterator() |
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() |