Class SynchronizationCallbackCoordinatorTrackingImpl
java.lang.Object
org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinatorNonTrackingImpl
org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinatorTrackingImpl
- All Implemented Interfaces:
Synchronization
,SynchronizationCallbackCoordinator
public class SynchronizationCallbackCoordinatorTrackingImpl
extends SynchronizationCallbackCoordinatorNonTrackingImpl
Extension of SynchronizationCallbackCoordinatorNonTrackingImpl that adds checking of whether a rollback comes from
a thread other than the application thread (thread used to register the Synchronization)
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterCompletion
(int status) void
Called by the TransactionCoordinator to allow the SynchronizationCallbackCoordinator to process any after-completion handling that it may have delayed due to thread affinityvoid
reset()
void
Called by the TransactionCoordinator when it registers the Synchronization with the JTA systemMethods inherited from class org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinatorNonTrackingImpl
beforeCompletion, doAfterCompletion
-
Constructor Details
-
SynchronizationCallbackCoordinatorTrackingImpl
-
-
Method Details
-
reset
public void reset()- Overrides:
reset
in classSynchronizationCallbackCoordinatorNonTrackingImpl
-
afterCompletion
public void afterCompletion(int status) - Specified by:
afterCompletion
in interfaceSynchronization
- Overrides:
afterCompletion
in classSynchronizationCallbackCoordinatorNonTrackingImpl
-
synchronizationRegistered
public void synchronizationRegistered()Description copied from interface:SynchronizationCallbackCoordinator
Called by the TransactionCoordinator when it registers the Synchronization with the JTA system- Specified by:
synchronizationRegistered
in interfaceSynchronizationCallbackCoordinator
- Overrides:
synchronizationRegistered
in classSynchronizationCallbackCoordinatorNonTrackingImpl
-
processAnyDelayedAfterCompletion
public void processAnyDelayedAfterCompletion()Description copied from interface:SynchronizationCallbackCoordinator
Called by the TransactionCoordinator to allow the SynchronizationCallbackCoordinator to process any after-completion handling that it may have delayed due to thread affinity- Specified by:
processAnyDelayedAfterCompletion
in interfaceSynchronizationCallbackCoordinator
- Overrides:
processAnyDelayedAfterCompletion
in classSynchronizationCallbackCoordinatorNonTrackingImpl
-