public class SingleDataSourceLookup extends Object implements DataSourceLookup
| Constructor and Description | 
|---|
SingleDataSourceLookup(DataSource dataSource)
Create a new instance of the  
SingleDataSourceLookup class. | 
| Modifier and Type | Method and Description | 
|---|---|
DataSource | 
getDataSource(String dataSourceName)
Retrieve the DataSource identified by the given name. 
 | 
public SingleDataSourceLookup(DataSource dataSource)
SingleDataSourceLookup class.dataSource - the single DataSource to wrappublic DataSource getDataSource(String dataSourceName)
DataSourceLookupgetDataSource in interface DataSourceLookupdataSourceName - the name of the DataSourcenull)