Package org.hibernate.context.internal
Class ThreadLocalSessionContext.CleanupSync
- java.lang.Object
-
- org.hibernate.context.internal.ThreadLocalSessionContext.CleanupSync
-
- All Implemented Interfaces:
Synchronization,Serializable
- Enclosing class:
- ThreadLocalSessionContext
protected static class ThreadLocalSessionContext.CleanupSync extends Object implements 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 SessionFactoryfactory
-
Constructor Summary
Constructors Constructor Description CleanupSync(SessionFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterCompletion(int i)voidbeforeCompletion()
-
-
-
Field Detail
-
factory
protected final SessionFactory factory
-
-
Constructor Detail
-
CleanupSync
public CleanupSync(SessionFactory factory)
-
-
Method Detail
-
beforeCompletion
public void beforeCompletion()
- Specified by:
beforeCompletionin interfaceSynchronization
-
afterCompletion
public void afterCompletion(int i)
- Specified by:
afterCompletionin interfaceSynchronization
-
-