|
spring-jdbc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.jdbc.datasource.lookup.SingleDataSourceLookup
public class SingleDataSourceLookup
An implementation of the DataSourceLookup that simply wraps a single given DataSource, returned for any data source name.
| Constructor Summary | |
|---|---|
SingleDataSourceLookup(javax.sql.DataSource dataSource)
Create a new instance of the SingleDataSourceLookup class. |
|
| Method Summary | |
|---|---|
javax.sql.DataSource |
getDataSource(java.lang.String dataSourceName)
Retrieve the DataSource identified by the given name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingleDataSourceLookup(javax.sql.DataSource dataSource)
SingleDataSourceLookup class.
dataSource - the single DataSource to wrap| Method Detail |
|---|
public javax.sql.DataSource getDataSource(java.lang.String dataSourceName)
DataSourceLookup
getDataSource in interface DataSourceLookupdataSourceName - the name of the DataSource
null)
|
spring-jdbc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||