Class SynchronizationCallbackCoordinatorNonTrackingImpl
java.lang.Object
org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinatorNonTrackingImpl
- All Implemented Interfaces:
Synchronization
,SynchronizationCallbackCoordinator
- Direct Known Subclasses:
SynchronizationCallbackCoordinatorTrackingImpl
public class SynchronizationCallbackCoordinatorNonTrackingImpl
extends Object
implements SynchronizationCallbackCoordinator
Manages callbacks from the
Synchronization
registered by Hibernate.-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterCompletion
(int status) void
protected void
doAfterCompletion
(boolean successful, boolean delayed) 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 system
-
Constructor Details
-
SynchronizationCallbackCoordinatorNonTrackingImpl
-
-
Method Details
-
reset
public void reset() -
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
-
beforeCompletion
public void beforeCompletion()- Specified by:
beforeCompletion
in interfaceSynchronization
-
afterCompletion
public void afterCompletion(int status) - Specified by:
afterCompletion
in interfaceSynchronization
-
doAfterCompletion
protected void doAfterCompletion(boolean successful, boolean delayed) -
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
-