public class SynchronizationRegistryBasedSynchronizationStrategy extends Object implements JtaSynchronizationStrategy
JtaSynchronizationStrategy
contract based on using a
TransactionSynchronizationRegistry
Constructor and Description |
---|
SynchronizationRegistryBasedSynchronizationStrategy(SynchronizationRegistryAccess synchronizationRegistryAccess) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRegisterSynchronization()
Can a synchronization be registered?
|
void |
registerSynchronization(Synchronization synchronization)
Register a synchronization
|
public SynchronizationRegistryBasedSynchronizationStrategy(SynchronizationRegistryAccess synchronizationRegistryAccess)
public void registerSynchronization(Synchronization synchronization)
JtaSynchronizationStrategy
registerSynchronization
in interface JtaSynchronizationStrategy
synchronization
- The synchronization to register.public boolean canRegisterSynchronization()
JtaSynchronizationStrategy
canRegisterSynchronization
in interface JtaSynchronizationStrategy
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.