public interface SynchronizationRegistryImplementor extends SynchronizationRegistry
Modifier and Type | Method and Description |
---|---|
void |
clearSynchronizations()
Clears all synchronizations from this registry.
|
void |
notifySynchronizationsAfterTransactionCompletion(int status)
Delegates the
Synchronization.afterCompletion(int) call to each registered Synchronization. |
void |
notifySynchronizationsBeforeTransactionCompletion()
Delegates the
Synchronization.beforeCompletion() call to each registered Synchronization |
registerSynchronization
void notifySynchronizationsBeforeTransactionCompletion()
Synchronization.beforeCompletion()
call to each registered Synchronizationvoid notifySynchronizationsAfterTransactionCompletion(int status)
Synchronization.afterCompletion(int)
call to each registered Synchronization. Will also
clear the registered Synchronizations after all have been notified.status
- The transaction status, per Status
constantsvoid clearSynchronizations()
notifySynchronizationsAfterTransactionCompletion(int)
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.