com.ibatis.sqlmap.engine.datasource
Class SimpleDataSourceFactory

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

public class SimpleDataSourceFactory
extends java.lang.Object
implements DataSourceFactory

DataSourceFactory implementation for the iBATIS SimpleDataSource


Constructor Summary
SimpleDataSourceFactory()
           
 
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

SimpleDataSourceFactory

public SimpleDataSourceFactory()
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