Top Description Interfaces Classes
module spring.jdbc

Package org.springframework.jdbc.datasource.lookup

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Provides a strategy for looking up JDBC DataSources by name.

Interface Summary

Modifier and TypeInterface and Description
public interface
DataSourceLookup

Strategy interface for looking up DataSources by name.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractRoutingDataSource

Abstract javax.sql.DataSource implementation that routes getConnection() calls to one of various target DataSources based on a lookup key.

public class
BeanFactoryDataSourceLookup

DataSourceLookup implementation based on a Spring BeanFactory.

public class
DataSourceLookupFailureException

Exception to be thrown by a DataSourceLookup implementation, indicating that the specified DataSource could not be obtained.

public class
IsolationLevelDataSourceRouter

DataSource that routes to one of various target DataSources based on the current transaction isolation level.

public class
JndiDataSourceLookup

JNDI-based DataSourceLookup implementation.

public class
MapDataSourceLookup

Simple DataSourceLookup implementation that relies on a map for doing lookups.

public class
SingleDataSourceLookup

An implementation of the DataSourceLookup that simply wraps a single given DataSource, returned for any data source name.