com.ibatis.common.jdbc
Class DbcpConfiguration

java.lang.Object
  extended bycom.ibatis.common.jdbc.DbcpConfiguration

public class DbcpConfiguration
extends java.lang.Object

Wrapper class to simplify use of DBCP


Constructor Summary
DbcpConfiguration(java.util.Map properties)
          Constructor to supply a map of properties
 
Method Summary
 javax.sql.DataSource getDataSource()
          Getter for DataSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbcpConfiguration

public DbcpConfiguration(java.util.Map properties)
Constructor to supply a map of properties

Parameters:
properties - - the map of configuration properties
Method Detail

getDataSource

public javax.sql.DataSource getDataSource()
Getter for DataSource

Returns:
The DataSource