|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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)
SynchronizationRegistrySynchronization callback for this transaction.
registerSynchronization in interface SynchronizationRegistrysynchronization - The synchronization callback to register.public void notifySynchronizationsBeforeTransactionCompletion()
SynchronizationRegistrySynchronization.beforeCompletion() calls to the registered
Synchronizations
notifySynchronizationsBeforeTransactionCompletion in interface SynchronizationRegistrypublic void notifySynchronizationsAfterTransactionCompletion(int status)
SynchronizationRegistrySynchronization.afterCompletion(int) calls to registered
Synchronizations
notifySynchronizationsAfterTransactionCompletion in interface SynchronizationRegistrystatus - The transaction status (if known) per Status
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||