com.ibatis.db.sqlmap.datasource
Class DbcpDataSourceFactory
java.lang.Object
com.ibatis.db.sqlmap.datasource.DbcpDataSourceFactory
- All Implemented Interfaces:
- DataSourceFactory
- public class DbcpDataSourceFactory
- extends java.lang.Object
- implements DataSourceFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dataSource
private javax.sql.DataSource dataSource
expectedProperties
private java.lang.String[] expectedProperties
DbcpDataSourceFactory
public DbcpDataSourceFactory()
initialize
public void initialize(java.util.Map map)
- Specified by:
initialize
in interface DataSourceFactory
notEmpty
private boolean notEmpty(java.lang.String s)
getDataSource
public javax.sql.DataSource getDataSource()
- Specified by:
getDataSource
in interface DataSourceFactory
getExpectedProperties
public java.lang.String[] getExpectedProperties()
- Specified by:
getExpectedProperties
in interface DataSourceFactory