public class TransactionManagerBasedSynchronizationStrategy extends Object implements JtaSynchronizationStrategy
JtaSynchronizationStrategy
contract based on using a
TransactionManager
Constructor and Description |
---|
TransactionManagerBasedSynchronizationStrategy(TransactionManagerAccess transactionManagerAccess) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRegisterSynchronization()
Can a synchronization be registered?
|
void |
registerSynchronization(Synchronization synchronization)
Register a synchronization
|
public TransactionManagerBasedSynchronizationStrategy(TransactionManagerAccess transactionManagerAccess)
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-2015 Red Hat, Inc. All Rights Reserved.