com.ibatis.sqlmap.engine.datasource
Class SimpleDataSourceFactory
java.lang.Object
com.ibatis.sqlmap.engine.datasource.SimpleDataSourceFactory
- All Implemented Interfaces:
- DataSourceFactory
public class SimpleDataSourceFactory
- extends Object
- implements DataSourceFactory
DataSourceFactory implementation for the iBATIS SimpleDataSource
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleDataSourceFactory
public SimpleDataSourceFactory()
initialize
public void initialize(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 DataSource getDataSource()
- Description copied from interface:
DataSourceFactory
- Returns a datasource
- Specified by:
getDataSource
in interface DataSourceFactory
- Returns:
- an implementation of DataSource
Copyright © 2010. All Rights Reserved.