Package org.hibernate.context.spi
Class AbstractCurrentSessionContext
java.lang.Object
org.hibernate.context.spi.AbstractCurrentSessionContext
- All Implemented Interfaces:
Serializable,CurrentSessionContext
- Direct Known Subclasses:
JTASessionContext,ManagedSessionContext,ThreadLocalSessionContext
Base support for
CurrentSessionContext implementors.- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionprotected SessionBuilderfactory()Access to the SessionFactoryprotected voidvalidateExistingSession(Session existingSession) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.context.spi.CurrentSessionContext
currentSession
-
Constructor Details
-
AbstractCurrentSessionContext
-
-
Method Details
-
factory
Access to the SessionFactory- Returns:
- The SessionFactory being serviced by this context
-
baseSessionBuilder
-
validateExistingSession
-