public class RegisteredSynchronization
extends java.lang.Object
implements javax.transaction.Synchronization
Synchronization
Hibernate registers when needed for JTA callbacks.
Note that we split the notion of the registered Synchronization and the processing of the Synchronization callbacks
mainly to account for "separation of concerns", but also so that the transaction engine does not have to hold
reference to the actual Synchronization that gets registered with the JTA system.Constructor and Description |
---|
RegisteredSynchronization(SynchronizationCallbackCoordinator synchronizationCallbackCoordinator) |
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(int status) |
void |
beforeCompletion() |
public RegisteredSynchronization(SynchronizationCallbackCoordinator synchronizationCallbackCoordinator)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.