|
spring-jdbc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataSourceLookup
Strategy interface for looking up DataSources by name.
Used, for example, to resolve data source names in JPA
persistence.xml files.
org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager#setDataSourceLookup| Method Summary | |
|---|---|
javax.sql.DataSource |
getDataSource(java.lang.String dataSourceName)
Retrieve the DataSource identified by the given name. |
| Method Detail |
|---|
javax.sql.DataSource getDataSource(java.lang.String dataSourceName)
throws DataSourceLookupFailureException
dataSourceName - the name of the DataSource
null)
DataSourceLookupFailureException - if the lookup failed
|
spring-jdbc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||