org.apache.ibatis.datasource.unpooled
Class UnpooledDataSourceFactory

java.lang.Object
  extended by org.apache.ibatis.datasource.unpooled.UnpooledDataSourceFactory
All Implemented Interfaces:
DataSourceFactory
Direct Known Subclasses:
PooledDataSourceFactory

public class UnpooledDataSourceFactory
extends java.lang.Object
implements DataSourceFactory


Field Summary
protected  javax.sql.DataSource dataSource
           
 
Constructor Summary
UnpooledDataSourceFactory()
           
 
Method Summary
 javax.sql.DataSource getDataSource()
           
 void setProperties(java.util.Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataSource

protected javax.sql.DataSource dataSource
Constructor Detail

UnpooledDataSourceFactory

public UnpooledDataSourceFactory()
Method Detail

setProperties

public void setProperties(java.util.Properties properties)
Specified by:
setProperties in interface DataSourceFactory

getDataSource

public javax.sql.DataSource getDataSource()
Specified by:
getDataSource in interface DataSourceFactory


Copyright © 2010. All Rights Reserved.