Uses of Interface
org.springframework.jdbc.datasource.lookup.DataSourceLookup
Package
Description
Provides a strategy for looking up JDBC DataSources by name.
Internal support for managing JPA persistence units.
-
Uses of DataSourceLookup in org.springframework.jdbc.datasource.lookup
Modifier and TypeClassDescriptionclass
DataSourceLookup
implementation based on a SpringBeanFactory
.class
JNDI-basedDataSourceLookup
implementation.class
SimpleDataSourceLookup
implementation that relies on a map for doing lookups.class
An implementation of the DataSourceLookup that simply wraps a single given DataSource, returned for any data source name.Modifier and TypeMethodDescriptionvoid
AbstractRoutingDataSource.setDataSourceLookup
(DataSourceLookup dataSourceLookup) Set the DataSourceLookup implementation to use for resolving data source name Strings in thetargetDataSources
map. -
Uses of DataSourceLookup in org.springframework.orm.jpa.persistenceunit
Modifier and TypeMethodDescriptionDefaultPersistenceUnitManager.getDataSourceLookup()
Return the JDBC DataSourceLookup that provides DataSources for the persistence provider, resolving data source names inpersistence.xml
against Spring-managed DataSource instances.Modifier and TypeMethodDescriptionvoid
DefaultPersistenceUnitManager.setDataSourceLookup
(DataSourceLookup dataSourceLookup) Specify the JDBC DataSourceLookup that provides DataSources for the persistence provider, resolving data source names inpersistence.xml
against Spring-managed DataSource instances.