Interface JtaSynchronizationStrategy
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
SynchronizationRegistryBasedSynchronizationStrategy
,TransactionManagerBasedSynchronizationStrategy
public interface JtaSynchronizationStrategy extends Serializable
Contract used to centralizeSynchronization
handling logic.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canRegisterSynchronization()
Can a synchronization be registered?void
registerSynchronization(Synchronization synchronization)
Register a synchronization
-
-
-
Method Detail
-
registerSynchronization
void registerSynchronization(Synchronization synchronization)
Register a synchronization- Parameters:
synchronization
- The synchronization to register.
-
canRegisterSynchronization
boolean canRegisterSynchronization()
Can a synchronization be registered?- Returns:
- true/false
-
-