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 theSynchronizationregistered by Hibernate.
-
-
Constructor Summary
Constructors Constructor Description SynchronizationCallbackCoordinatorNonTrackingImpl(SynchronizationCallbackTarget target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterCompletion(int status)voidbeforeCompletion()protected voiddoAfterCompletion(boolean successful, boolean delayed)voidprocessAnyDelayedAfterCompletion()Called by the TransactionCoordinator to allow the SynchronizationCallbackCoordinator to process any after-completion handling that it may have delayed due to thread affinityvoidreset()voidsynchronizationRegistered()Called by the TransactionCoordinator when it registers the Synchronization with the JTA system
-
-
-
Constructor Detail
-
SynchronizationCallbackCoordinatorNonTrackingImpl
public SynchronizationCallbackCoordinatorNonTrackingImpl(SynchronizationCallbackTarget target)
-
-
Method Detail
-
reset
public void reset()
-
synchronizationRegistered
public void synchronizationRegistered()
Description copied from interface:SynchronizationCallbackCoordinatorCalled by the TransactionCoordinator when it registers the Synchronization with the JTA system- Specified by:
synchronizationRegisteredin interfaceSynchronizationCallbackCoordinator
-
beforeCompletion
public void beforeCompletion()
- Specified by:
beforeCompletionin interfaceSynchronization
-
afterCompletion
public void afterCompletion(int status)
- Specified by:
afterCompletionin interfaceSynchronization
-
doAfterCompletion
protected void doAfterCompletion(boolean successful, boolean delayed)
-
processAnyDelayedAfterCompletion
public void processAnyDelayedAfterCompletion()
Description copied from interface:SynchronizationCallbackCoordinatorCalled by the TransactionCoordinator to allow the SynchronizationCallbackCoordinator to process any after-completion handling that it may have delayed due to thread affinity- Specified by:
processAnyDelayedAfterCompletionin interfaceSynchronizationCallbackCoordinator
-
-