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 called by the transaction
manager after the transaction is committed or rolled back.
|
void |
beforeCompletion()
The beforeCompletion method is called by the transaction manager prior
to the start of the two-phase transaction 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 transaction completion.protected void doAfterCompletion(boolean successful, boolean delayed)
public void processAnyDelayedAfterCompletion()
SynchronizationCallbackCoordinator
processAnyDelayedAfterCompletion
in interface SynchronizationCallbackCoordinator
Copyright © 2020 JBoss by Red Hat. All rights reserved.