|
|||||||||
| 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.
DefaultPersistenceUnitManager.setDataSourceLookup(org.springframework.jdbc.datasource.lookup.DataSourceLookup)| Method Summary | |
|---|---|
DataSource |
getDataSource(String dataSourceName)
Retrieve the DataSource identified by the given name. |
| Method Detail |
|---|
DataSource getDataSource(String dataSourceName)
throws DataSourceLookupFailureException
dataSourceName - the name of the DataSource
null)
DataSourceLookupFailureException - if the lookup failed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||