Interface SynchronizationRegistry
-
- All Superinterfaces:
java.io.Serializable
public interface SynchronizationRegistry extends java.io.SerializableManages a registry ofSynchronizations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnotifySynchronizationsAfterTransactionCompletion(int status)voidnotifySynchronizationsBeforeTransactionCompletion()voidregisterSynchronization(Synchronization synchronization)Register a userSynchronizationcallback for this transaction.
-
-
-
Method Detail
-
registerSynchronization
void registerSynchronization(Synchronization synchronization)
Register a userSynchronizationcallback for this transaction.- Parameters:
synchronization- The synchronization callback to register.- Throws:
HibernateException
-
notifySynchronizationsBeforeTransactionCompletion
void notifySynchronizationsBeforeTransactionCompletion()
-
notifySynchronizationsAfterTransactionCompletion
void notifySynchronizationsAfterTransactionCompletion(int status)
- Parameters:
status- The transaction status (if known) perStatus
-
-