Class BeanFactoryDataSourceLookup

java.lang.Object
org.springframework.jdbc.datasource.lookup.BeanFactoryDataSourceLookup
All Implemented Interfaces:
Aware, BeanFactoryAware, DataSourceLookup

public class BeanFactoryDataSourceLookup extends Object implements DataSourceLookup, BeanFactoryAware
DataSourceLookup implementation based on a Spring BeanFactory.

Will lookup Spring managed beans identified by bean name, expecting them to be of type javax.sql.DataSource.

Since:
2.0
Author:
Costin Leau, Juergen Hoeller
See Also: