Top Description Interfaces Classes
[default module]

Package org.hibernate.resource.transaction.backend.jta.internal.synchronization


Internal implementation details for reacting to JTA transaction completion via javax.transaction.Synchronization callbacks

Interface Summary

Modifier and TypeInterface and Description
public interface
AfterCompletionAction

Deprecated (since 5.2) - probably getting removed in 5.2 as well. This was an SPI contract intended for HEM that is no longer needed.
A pluggable strategy for defining any actions to be performed during javax.transaction.Synchronization#afterCompletion processing from the the javax.transaction.Synchronization registered by Hibernate with the underlying JTA platform.
public interface
ExceptionMapper

A pluggable strategy for defining how the javax.transaction.Synchronization registered by Hibernate handles exceptions.

public interface
ManagedFlushChecker

Deprecated (since 5.2) no longer needed since integrating HEM into hibernate-core.
A pluggable strategy for defining how the javax.transaction.Synchronization registered by Hibernate determines whether to perform a managed flush.
public interface
SynchronizationCallbackCoordinator

Manages funneling JTA Synchronization callbacks back into the Hibernate transaction engine.

public interface
SynchronizationCallbackTarget

Defines "inflow" for JTA transactions from the perspective of Hibernate's registered JTA Synchronization back into the TransactionCoordinator by means of the SynchronizationCallbackCoordinator.

Class Summary

Modifier and TypeClass and Description
public class
RegisteredSynchronization

The JTA javax.transaction.Synchronization Hibernate registers when needed for JTA callbacks.

public class
public class
SynchronizationCallbackCoordinatorTrackingImpl

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)