|
The Spring Framework | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DataSourceLookup | |
---|---|
org.springframework.jdbc.datasource.lookup | Provides a strategy for looking up JDBC DataSources by name. |
org.springframework.orm.jpa.persistenceunit | Internal support for managing JPA persistence units. |
Uses of DataSourceLookup in org.springframework.jdbc.datasource.lookup |
---|
Classes in org.springframework.jdbc.datasource.lookup that implement DataSourceLookup | |
---|---|
class |
BeanFactoryDataSourceLookup
DataSourceLookup implementation based on a Spring BeanFactory . |
class |
JndiDataSourceLookup
JNDI-based DataSourceLookup implementation. |
class |
MapDataSourceLookup
Simple DataSourceLookup implementation that relies on a map for doing lookups. |
class |
SingleDataSourceLookup
An implementation of the DataSourceLookup that simply wraps a single given DataSource, returned for any data source name. |
Methods in org.springframework.jdbc.datasource.lookup with parameters of type DataSourceLookup | |
---|---|
void |
AbstractRoutingDataSource.setDataSourceLookup(DataSourceLookup dataSourceLookup)
Set the DataSourceLookup implementation to use for resolving data source name Strings in the targetDataSources map. |
Uses of DataSourceLookup in org.springframework.orm.jpa.persistenceunit |
---|
Methods in org.springframework.orm.jpa.persistenceunit that return DataSourceLookup | |
---|---|
DataSourceLookup |
DefaultPersistenceUnitManager.getDataSourceLookup()
Return the JDBC DataSourceLookup that provides DataSources for the persistence provider, resolving data source names in persistence.xml
against Spring-managed DataSource instances. |
Methods in org.springframework.orm.jpa.persistenceunit with parameters of type DataSourceLookup | |
---|---|
void |
DefaultPersistenceUnitManager.setDataSourceLookup(DataSourceLookup dataSourceLookup)
Specify the JDBC DataSourceLookup that provides DataSources for the persistence provider, resolving data source names in persistence.xml
against Spring-managed DataSource instances. |
|
The Spring Framework | |||||||||
PREV NEXT | FRAMES NO FRAMES |