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