S - : 数据库连接类型public abstract class AbstractSessionMgr<S> extends Object implements SessionMgr<S>
SessionMgr 接口| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
configFile
配置文件
|
protected TransIsoLevel |
defaultTransIsoLevel
默认事务隔离级别
|
protected ThreadLocal<S> |
localSession
线程局部 Session 对象
|
| 构造器和说明 |
|---|
AbstractSessionMgr() |
| 限定符和类型 | 方法和说明 |
|---|---|
S |
currentSession()
|
String |
getConfigFile()
|
TransIsoLevel |
getDefalutTransIsoLevel()
|
boolean |
isInvoking()
|
protected abstract void |
loadDefalutTransIsoLevel()
加载
SessionMgr 的默认事务隔离级别 |
void |
setInvoking(boolean value)
|
void |
unInitialize()
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeginTransaction, closeSession, commit, getSession, initialize, rollback, setSessionTransIsoLevelprotected String configFile
protected TransIsoLevel defaultTransIsoLevel
protected final ThreadLocal<S> localSession
protected abstract void loadDefalutTransIsoLevel()
SessionMgr 的默认事务隔离级别public void unInitialize()
unInitialize 在接口中 SessionMgr<S>public TransIsoLevel getDefalutTransIsoLevel()
getDefalutTransIsoLevel 在接口中 SessionMgr<S>public S currentSession()
currentSession 在接口中 SessionMgr<S>public String getConfigFile()
getConfigFile 在接口中 SessionMgr<S>public boolean isInvoking()
isInvoking 在接口中 SessionMgr<S>public void setInvoking(boolean value)
setInvoking 在接口中 SessionMgr<S>Copyright © 2015 JessMA Open Source. All rights reserved.