public class JndiDataSourceFactory extends Object implements DataSourceFactory
Modifier and Type | Field and Description |
---|---|
static String |
DATA_SOURCE |
static String |
ENV_PREFIX |
static String |
INITIAL_CONTEXT |
Constructor and Description |
---|
JndiDataSourceFactory() |
Modifier and Type | Method and Description |
---|---|
DataSource |
getDataSource() |
void |
setProperties(Properties properties) |
public static final String INITIAL_CONTEXT
public static final String DATA_SOURCE
public static final String ENV_PREFIX
public void setProperties(Properties properties)
setProperties
in interface DataSourceFactory
public DataSource getDataSource()
getDataSource
in interface DataSourceFactory
Copyright © 2010–2015 MyBatis.org. All rights reserved.