类 AbstractCurrentSessionContext
- java.lang.Object
-
- org.hibernate.context.spi.AbstractCurrentSessionContext
-
- 所有已实现的接口:
Serializable,CurrentSessionContext
public abstract class AbstractCurrentSessionContext extends Object implements CurrentSessionContext
Base support forCurrentSessionContextimplementors.- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 限定符 构造器 说明 protectedAbstractCurrentSessionContext(SessionFactoryImplementor factory)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected SessionBuilderbaseSessionBuilder()SessionFactoryImplementorfactory()Access to the SessionFactoryprotected voidvalidateExistingSession(Session existingSession)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.context.spi.CurrentSessionContext
currentSession
-
-
-
-
构造器详细资料
-
AbstractCurrentSessionContext
protected AbstractCurrentSessionContext(SessionFactoryImplementor factory)
-
-
方法详细资料
-
factory
public SessionFactoryImplementor factory()
Access to the SessionFactory- 返回:
- The SessionFactory being serviced by this context
-
baseSessionBuilder
protected SessionBuilder baseSessionBuilder()
-
validateExistingSession
protected void validateExistingSession(Session existingSession)
-
-