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.
Author:
Steve Ebersole
  • Constructor Details

    • SynchronizationCallbackCoordinatorNonTrackingImpl

      public SynchronizationCallbackCoordinatorNonTrackingImpl(SynchronizationCallbackTarget target)
  • 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 interface SynchronizationCallbackCoordinator
    • beforeCompletion

      public void beforeCompletion()
      Description copied from interface: Synchronization
      The beforeCompletion method is called by the transaction manager prior to the start of the two-phase transaction commit process. This call is executed with the transaction context of the transaction that is being committed.
      Specified by:
      beforeCompletion in interface Synchronization
    • afterCompletion

      public void afterCompletion(int status)
      Description copied from interface: Synchronization
      This method is called by the transaction manager after the transaction is committed or rolled back.
      Specified by:
      afterCompletion in interface Synchronization
      Parameters:
      status - The status of the transaction completion.
    • 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 interface SynchronizationCallbackCoordinator