类 SynchronizationCallbackCoordinatorTrackingImpl
- java.lang.Object
-
- org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinatorNonTrackingImpl
-
- org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinatorTrackingImpl
-
- 所有已实现的接口:
javax.transaction.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)- 作者:
- Steve Ebersole, Brett Meyer
-
-
构造器概要
构造器 构造器 说明 SynchronizationCallbackCoordinatorTrackingImpl(SynchronizationCallbackTarget target)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidafterCompletion(int status)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-
从类继承的方法 org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinatorNonTrackingImpl
beforeCompletion, doAfterCompletion
-
-
-
-
构造器详细资料
-
SynchronizationCallbackCoordinatorTrackingImpl
public SynchronizationCallbackCoordinatorTrackingImpl(SynchronizationCallbackTarget target)
-
-
方法详细资料
-
reset
public void reset()
-
afterCompletion
public void afterCompletion(int status)
- 指定者:
afterCompletion在接口中javax.transaction.Synchronization- 覆盖:
afterCompletion在类中SynchronizationCallbackCoordinatorNonTrackingImpl
-
synchronizationRegistered
public void synchronizationRegistered()
从接口复制的说明:SynchronizationCallbackCoordinatorCalled by the TransactionCoordinator when it registers the Synchronization with the JTA system
-
processAnyDelayedAfterCompletion
public void processAnyDelayedAfterCompletion()
从接口复制的说明:SynchronizationCallbackCoordinatorCalled by the TransactionCoordinator to allow the SynchronizationCallbackCoordinator to process any after-completion handling that it may have delayed due to thread affinity
-
-