org.apache.ibatis.datasource.jndi
Class JndiDataSourceFactory

java.lang.Object
  extended by org.apache.ibatis.datasource.jndi.JndiDataSourceFactory
All Implemented Interfaces:
DataSourceFactory

public class JndiDataSourceFactory
extends Object
implements DataSourceFactory


Field Summary
static String DATA_SOURCE
           
static String ENV_PREFIX
           
static String INITIAL_CONTEXT
           
 
Constructor Summary
JndiDataSourceFactory()
           
 
Method Summary
 DataSource getDataSource()
           
 void setProperties(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INITIAL_CONTEXT

public static final String INITIAL_CONTEXT
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

ENV_PREFIX

public static final String ENV_PREFIX
See Also:
Constant Field Values
Constructor Detail

JndiDataSourceFactory

public JndiDataSourceFactory()
Method Detail

setProperties

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

getDataSource

public DataSource getDataSource()
Specified by:
getDataSource in interface DataSourceFactory


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.