public class SynchronizationRegistryImpl extends Object implements SynchronizationRegistry
Synchronizations
.Constructor and Description |
---|
SynchronizationRegistryImpl() |
Modifier and Type | Method and Description |
---|---|
void |
notifySynchronizationsAfterTransactionCompletion(int status)
|
void |
notifySynchronizationsBeforeTransactionCompletion()
|
void |
registerSynchronization(Synchronization synchronization)
Register a user
Synchronization callback for this transaction. |
public void registerSynchronization(Synchronization synchronization)
SynchronizationRegistry
Synchronization
callback for this transaction.registerSynchronization
in interface SynchronizationRegistry
synchronization
- The synchronization callback to register.public void notifySynchronizationsBeforeTransactionCompletion()
SynchronizationRegistry
notifySynchronizationsBeforeTransactionCompletion
in interface SynchronizationRegistry
public void notifySynchronizationsAfterTransactionCompletion(int status)
SynchronizationRegistry
notifySynchronizationsAfterTransactionCompletion
in interface SynchronizationRegistry
status
- The transaction status (if known) per Status
Copyright © 2017 JBoss by Red Hat. All rights reserved.