org.hibernate.context
Class JTASessionContext.CleanupSynch

java.lang.Object
  extended by 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.


Constructor Summary
JTASessionContext.CleanupSynch(java.lang.Object transactionIdentifier, JTASessionContext context)
           
 
Method Summary
 void afterCompletion(int i)
          
 void beforeCompletion()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JTASessionContext.CleanupSynch

public JTASessionContext.CleanupSynch(java.lang.Object transactionIdentifier,
                                      JTASessionContext context)
Method Detail

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


Copyright © 2008 Hibernate.org. All Rights Reserved.