Package org.hibernate.context.internal
Class ThreadLocalSessionContext.CleanupSync
- java.lang.Object
-
- org.hibernate.context.internal.ThreadLocalSessionContext.CleanupSync
-
- All Implemented Interfaces:
jakarta.transaction.Synchronization
,Serializable
- Enclosing class:
- ThreadLocalSessionContext
protected static class ThreadLocalSessionContext.CleanupSync extends Object implements jakarta.transaction.Synchronization, Serializable
Transaction sync used for cleanup of the internal session map.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected SessionFactory
factory
-
Constructor Summary
Constructors Constructor Description CleanupSync(SessionFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterCompletion(int i)
void
beforeCompletion()
-
-
-
Field Detail
-
factory
protected final SessionFactory factory
-
-
Constructor Detail
-
CleanupSync
public CleanupSync(SessionFactory factory)
-
-