Package org.hibernate.context.internal
Class JTASessionContext.CleanupSync
- java.lang.Object
-
- org.hibernate.context.internal.JTASessionContext.CleanupSync
-
- All Implemented Interfaces:
Synchronization
- Enclosing class:
- JTASessionContext
protected static class JTASessionContext.CleanupSync extends Object implements Synchronization
JTA transaction sync used for cleanup of the internal session map.
-
-
Constructor Summary
Constructors Constructor Description CleanupSync(Object transactionIdentifier, JTASessionContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterCompletion(int i)
void
beforeCompletion()
-
-
-
Constructor Detail
-
CleanupSync
public CleanupSync(Object transactionIdentifier, JTASessionContext context)
-
-
Method Detail
-
beforeCompletion
public void beforeCompletion()
- Specified by:
beforeCompletion
in interfaceSynchronization
-
afterCompletion
public void afterCompletion(int i)
- Specified by:
afterCompletion
in interfaceSynchronization
-
-