Package org.hibernate.context.spi
Class AbstractCurrentSessionContext
java.lang.Object
org.hibernate.context.spi.AbstractCurrentSessionContext
- All Implemented Interfaces:
Serializable
,CurrentSessionContext
Base support for
CurrentSessionContext
implementors.- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionprotected SessionBuilder
factory()
Access to theSessionFactory
.protected 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 theSessionFactory
.- Returns:
- The
SessionFactory
being serviced by this context
-
baseSessionBuilder
-
validateExistingSession
-