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
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionprotected SessionBuilder
factory()
Access to the SessionFactoryprotected void
validateExistingSession
(Session existingSession) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-