org.hibernate.service.jta.platform.internal
Class SynchronizationRegistryBasedSynchronizationStrategy
java.lang.Object
org.hibernate.service.jta.platform.internal.SynchronizationRegistryBasedSynchronizationStrategy
- All Implemented Interfaces:
- Serializable, JtaSynchronizationStrategy
public class SynchronizationRegistryBasedSynchronizationStrategy
- extends Object
- implements JtaSynchronizationStrategy
Implementation of the JtaSynchronizationStrategy
contract based on using a
TransactionSynchronizationRegistry
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SynchronizationRegistryBasedSynchronizationStrategy
public SynchronizationRegistryBasedSynchronizationStrategy(SynchronizationRegistryAccess synchronizationRegistryAccess)
registerSynchronization
public void registerSynchronization(Synchronization synchronization)
- Description copied from interface:
JtaSynchronizationStrategy
- Register a synchronization
- Specified by:
registerSynchronization
in interface JtaSynchronizationStrategy
- Parameters:
synchronization
- The synchronization to register.
canRegisterSynchronization
public boolean canRegisterSynchronization()
- Description copied from interface:
JtaSynchronizationStrategy
- Can a synchronization be registered?
- Specified by:
canRegisterSynchronization
in interface JtaSynchronizationStrategy
- Returns:
- true/false
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.