当前页面:
在线文档首页 >
Hibernate 3.2.3 正式版 API 英文文档
JTASessionContext.CleanupSynch (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档
org.hibernate.context
Class JTASessionContext.CleanupSynch
java.lang.Object
org.hibernate.context.JTASessionContext.CleanupSynch
- All Implemented Interfaces:
- Synchronization
- Enclosing class:
- JTASessionContext
- protected static class JTASessionContext.CleanupSynch
- extends Object
- implements 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 |
JTASessionContext.CleanupSynch
public JTASessionContext.CleanupSynch(Transaction txn,
JTASessionContext context)
beforeCompletion
public void beforeCompletion()
- Specified by:
beforeCompletion
in interface Synchronization
afterCompletion
public void afterCompletion(int i)
- Specified by:
afterCompletion
in interface Synchronization