public class SynchronizationCallbackCoordinatorNonTrackingImpl extends Object implements SynchronizationCallbackCoordinator
Synchronization
registered by Hibernate.Constructor and Description |
---|
SynchronizationCallbackCoordinatorNonTrackingImpl(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 |
beforeCompletion()
This method is invoked before the start of the commit
process.
|
protected void |
doAfterCompletion(boolean successful,
boolean delayed) |
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
|
public SynchronizationCallbackCoordinatorNonTrackingImpl(SynchronizationCallbackTarget target)
public void reset()
public void synchronizationRegistered()
SynchronizationCallbackCoordinator
synchronizationRegistered
in interface SynchronizationCallbackCoordinator
public void beforeCompletion()
Synchronization
beforeCompletion
in interface Synchronization
public void afterCompletion(int status)
Synchronization
afterCompletion
in interface Synchronization
status
- The status of the completed transaction.protected void doAfterCompletion(boolean successful, boolean delayed)
public void processAnyDelayedAfterCompletion()
SynchronizationCallbackCoordinator
processAnyDelayedAfterCompletion
in interface SynchronizationCallbackCoordinator
Copyright © 2017 JBoss by Red Hat. All rights reserved.