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 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)
-
-
Method Detail
-
beforeCompletion
public void beforeCompletion()
- Specified by:
beforeCompletion
in interfaceSynchronization
-
afterCompletion
public void afterCompletion(int i)
- Specified by:
afterCompletion
in interfaceSynchronization
-
-