Top Description Fields Constructors Methods
org.hibernate.resource.transaction.backend.jta.internal.synchronization

public Class SynchronizationCallbackCoordinatorNonTrackingImpl

extends Object
implements SynchronizationCallbackCoordinator
Class Inheritance
All Implemented Interfaces
org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinator, javax.transaction.Synchronization
Known Direct Subclasses
org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinatorTrackingImpl
Imports
org.hibernate.engine.transaction.internal.jta.JtaStatusHelper, org.hibernate.internal.CoreLogging, .CoreMessageLogger

Manages callbacks from the javax.transaction.Synchronization registered by Hibernate.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private static final CoreMessageLogger
private final SynchronizationCallbackTarget

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
afterCompletion(int
The status of the transaction completion.
status
)

Implements javax.transaction.Synchronization.afterCompletion.

This method is called by the transaction manager after the transaction is committed or rolled back.
public void
beforeCompletion()

Implements javax.transaction.Synchronization.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)

public void
processAnyDelayedAfterCompletion()

Implements org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinator.processAnyDelayedAfterCompletion.

Called by the TransactionCoordinator to allow the SynchronizationCallbackCoordinator to process any after-completion handling that it may have delayed due to thread affinity
public void
public void
synchronizationRegistered()

Implements org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinator.synchronizationRegistered.

Called by the TransactionCoordinator when it registers the Synchronization with the JTA system
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

logback to summary
private static final CoreMessageLogger log
targetback to summary
private final SynchronizationCallbackTarget target

Constructor Detail

SynchronizationCallbackCoordinatorNonTrackingImplback to summary
public SynchronizationCallbackCoordinatorNonTrackingImpl(SynchronizationCallbackTarget target)

Method Detail

afterCompletionback to summary
public void afterCompletion(int status)

Implements javax.transaction.Synchronization.afterCompletion.

Doc from javax.transaction.Synchronization.afterCompletion.

This method is called by the transaction manager after the transaction is committed or rolled back.

Parameters
status:int

The status of the transaction completion.

Annotations
@Override
beforeCompletionback to summary
public void beforeCompletion()

Implements javax.transaction.Synchronization.beforeCompletion.

Doc from javax.transaction.Synchronization.beforeCompletion.

The beforeCompletion method is called by the transaction manager prior to the start of the two-phase transaction commit process. This call is executed with the transaction context of the transaction that is being committed.

Annotations
@Override
doAfterCompletionback to summary
protected void doAfterCompletion(boolean successful, boolean delayed)
processAnyDelayedAfterCompletionback to summary
public void processAnyDelayedAfterCompletion()

Implements org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinator.processAnyDelayedAfterCompletion.

Doc from org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinator.processAnyDelayedAfterCompletion.

Called by the TransactionCoordinator to allow the SynchronizationCallbackCoordinator to process any after-completion handling that it may have delayed due to thread affinity

Annotations
@Override
resetback to summary
public void reset()
synchronizationRegisteredback to summary
public void synchronizationRegistered()

Implements org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinator.synchronizationRegistered.

Doc from org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinator.synchronizationRegistered.

Called by the TransactionCoordinator when it registers the Synchronization with the JTA system

Annotations
@Override