org.hibernate.transaction
Class CacheSynchronization
java.lang.Object
org.hibernate.transaction.CacheSynchronization
- All Implemented Interfaces:
- javax.transaction.Synchronization
public final class CacheSynchronization
- extends java.lang.Object
- implements javax.transaction.Synchronization
A JTA transaction synch used to allow the Session
to know about transaction
events.
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CacheSynchronization
public CacheSynchronization(TransactionFactory.Context ctx,
JDBCContext jdbcContext,
javax.transaction.Transaction transaction,
Transaction tx)
beforeCompletion
public void beforeCompletion()
-
- Specified by:
beforeCompletion
in interface javax.transaction.Synchronization
afterCompletion
public void afterCompletion(int status)
-
- Specified by:
afterCompletion
in interface javax.transaction.Synchronization
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.lang.Object
Copyright © 2008 Hibernate.org. All Rights Reserved.