Package org.springframework.jdbc.datasource.lookup
Provides a strategy for looking up JDBC DataSources by name.
Interface Summary Interface Description DataSourceLookup Strategy interface for looking up DataSources by name.Class Summary Class Description AbstractRoutingDataSource AbstractDataSourceimplementation that routesAbstractRoutingDataSource.getConnection()calls to one of various target DataSources based on a lookup key.BeanFactoryDataSourceLookup DataSourceLookupimplementation based on a SpringBeanFactory.IsolationLevelDataSourceRouter DataSource that routes to one of various target DataSources based on the current transaction isolation level.JndiDataSourceLookup JNDI-basedDataSourceLookupimplementation.MapDataSourceLookup SimpleDataSourceLookupimplementation that relies on a map for doing lookups.SingleDataSourceLookup An implementation of the DataSourceLookup that simply wraps a single given DataSource, returned for any data source name.Exception Summary Exception Description DataSourceLookupFailureException Exception to be thrown by a DataSourceLookup implementation, indicating that the specified DataSource could not be obtained.