Interface SynchronizationRegistry
-
- All Superinterfaces:
Serializable
public interface SynchronizationRegistry extends Serializable
Manages a registry ofSynchronizations
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
notifySynchronizationsAfterTransactionCompletion(int status)
void
notifySynchronizationsBeforeTransactionCompletion()
void
registerSynchronization(Synchronization synchronization)
Register a userSynchronization
callback for this transaction.
-
-
-
Method Detail
-
registerSynchronization
void registerSynchronization(Synchronization synchronization)
Register a userSynchronization
callback 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
-
-