public class SynchronizationCallbackCoordinatorTrackingImpl extends SynchronizationCallbackCoordinatorNonTrackingImpl
Constructor and Description |
---|
SynchronizationCallbackCoordinatorTrackingImpl(SynchronizationCallbackTarget target) |
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(int status)
This method is invoked after the transaction has committed or
rolled back.
|
void |
processAnyDelayedAfterCompletion()
Called by the TransactionCoordinator to allow the SynchronizationCallbackCoordinator to process any
after-completion handling that it may have delayed due to thread affinity
|
void |
reset() |
void |
synchronizationRegistered()
Called by the TransactionCoordinator when it registers the Synchronization with the JTA system
|
beforeCompletion, doAfterCompletion
public SynchronizationCallbackCoordinatorTrackingImpl(SynchronizationCallbackTarget target)
public void reset()
reset
in class SynchronizationCallbackCoordinatorNonTrackingImpl
public void afterCompletion(int status)
Synchronization
afterCompletion
in interface Synchronization
afterCompletion
in class SynchronizationCallbackCoordinatorNonTrackingImpl
status
- The status of the completed transaction.public void synchronizationRegistered()
SynchronizationCallbackCoordinator
synchronizationRegistered
in interface SynchronizationCallbackCoordinator
synchronizationRegistered
in class SynchronizationCallbackCoordinatorNonTrackingImpl
public void processAnyDelayedAfterCompletion()
SynchronizationCallbackCoordinator
processAnyDelayedAfterCompletion
in interface SynchronizationCallbackCoordinator
processAnyDelayedAfterCompletion
in class SynchronizationCallbackCoordinatorNonTrackingImpl
Copyright © 2017 JBoss by Red Hat. All rights reserved.