|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.engine.transaction.internal.SynchronizationRegistryImpl
public class SynchronizationRegistryImpl
Manages a registry of Synchronizations
.
Constructor Summary | |
---|---|
SynchronizationRegistryImpl()
|
Method Summary | |
---|---|
void |
notifySynchronizationsAfterTransactionCompletion(int status)
Delegate Synchronization.afterCompletion(int) calls to registered
Synchronizations |
void |
notifySynchronizationsBeforeTransactionCompletion()
Delegate Synchronization.beforeCompletion() calls to the registered
Synchronizations |
void |
registerSynchronization(Synchronization synchronization)
Register a user Synchronization callback for this transaction. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SynchronizationRegistryImpl()
Method Detail |
---|
public void registerSynchronization(Synchronization synchronization)
SynchronizationRegistry
Synchronization
callback for this transaction.
registerSynchronization
in interface SynchronizationRegistry
synchronization
- The synchronization callback to register.public void notifySynchronizationsBeforeTransactionCompletion()
SynchronizationRegistry
Synchronization.beforeCompletion()
calls to the registered
Synchronizations
notifySynchronizationsBeforeTransactionCompletion
in interface SynchronizationRegistry
public void notifySynchronizationsAfterTransactionCompletion(int status)
SynchronizationRegistry
Synchronization.afterCompletion(int)
calls to registered
Synchronizations
notifySynchronizationsAfterTransactionCompletion
in interface SynchronizationRegistry
status
- The transaction status (if known) per Status
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |