Class JndiDataSourceFactory
- java.lang.Object
-
- org.apache.ibatis.datasource.jndi.JndiDataSourceFactory
-
- All Implemented Interfaces:
DataSourceFactory
public class JndiDataSourceFactory extends Object implements DataSourceFactory
- Author:
- Clinton Begin
-
-
Field Summary
Fields Modifier and Type Field Description static String
DATA_SOURCE
static String
ENV_PREFIX
static String
INITIAL_CONTEXT
-
Constructor Summary
Constructors Constructor Description JndiDataSourceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSource
getDataSource()
void
setProperties(Properties properties)
-
-
-
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
-
-
Method Detail
-
setProperties
public void setProperties(Properties properties)
- Specified by:
setProperties
in interfaceDataSourceFactory
-
getDataSource
public DataSource getDataSource()
- Specified by:
getDataSource
in interfaceDataSourceFactory
-
-