java.lang.Object | |
↳ | org.springframework.jdbc.datasource.lookup.SingleDataSourceLookup |
An implementation of the DataSourceLookup that simply wraps a single given DataSource, returned for any data source name.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new instance of the
SingleDataSourceLookup class. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieve the DataSource identified by the given name.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.jdbc.datasource.lookup.DataSourceLookup
|
Create a new instance of the SingleDataSourceLookup
class.
dataSource | the single DataSource to wrap
|
---|
Retrieve the DataSource identified by the given name.
dataSourceName | the name of the DataSource |
---|
null
)