org.hibernate.transaction
Class CacheSynchronization
java.lang.Object
org.hibernate.transaction.CacheSynchronization
- All Implemented Interfaces:
- Synchronization
public final class CacheSynchronization
- extends Object
- implements Synchronization
A JTA transaction synch used to allow the Session
to know about transaction
events.
- Author:
- Gavin King
CacheSynchronization
public CacheSynchronization(TransactionFactory.Context ctx,
JDBCContext jdbcContext,
Transaction transaction,
Transaction tx)
beforeCompletion
public void beforeCompletion()
-
- Specified by:
beforeCompletion
in interface Synchronization
afterCompletion
public void afterCompletion(int status)
-
- Specified by:
afterCompletion
in interface Synchronization
toString
public String toString()
-
- Overrides:
toString
in class Object
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.