com.ibatis.sqlmap.engine.datasource
Class DbcpDataSourceFactory

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.datasource.DbcpDataSourceFactory
All Implemented Interfaces:
DataSourceFactory

public class DbcpDataSourceFactory
extends java.lang.Object
implements DataSourceFactory

DataSourceFactory implementation for DBCP


Constructor Summary
DbcpDataSourceFactory()
           
 
Method Summary
 javax.sql.DataSource getDataSource()
          Returns a datasource
 void initialize(java.util.Map map)
          Simple method to initialize/configure a datasource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbcpDataSourceFactory

public DbcpDataSourceFactory()
Method Detail

initialize

public void initialize(java.util.Map map)
Description copied from interface: DataSourceFactory
Simple method to initialize/configure a datasource

Specified by:
initialize in interface DataSourceFactory
Parameters:
map - - the configuration information

getDataSource

public javax.sql.DataSource getDataSource()
Description copied from interface: DataSourceFactory
Returns a datasource

Specified by:
getDataSource in interface DataSourceFactory
Returns:
an implementation of DataSource