java.lang.Object
org.hibernate.context.JTASessionContext.CleanupSynch
- All Implemented Interfaces:
- javax.transaction.Synchronization
- Enclosing class:
- JTASessionContext
- protected static class JTASessionContext.CleanupSynch
- extends java.lang.Object
- implements javax.transaction.Synchronization
JTA transaction synch used for cleanup of the internal session map.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
txn
private javax.transaction.Transaction txn
context
private JTASessionContext context
JTASessionContext.CleanupSynch
public JTASessionContext.CleanupSynch(javax.transaction.Transaction txn,
JTASessionContext context)
beforeCompletion
public void beforeCompletion()
- Specified by:
beforeCompletion in interface javax.transaction.Synchronization
afterCompletion
public void afterCompletion(int i)
- Specified by:
afterCompletion in interface javax.transaction.Synchronization