|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 to registered
Synchronizations |
void |
notifySynchronizationsBeforeTransactionCompletion()
Delegate Synchronization.beforeCompletion() calls to 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 SynchronizationRegistry()
Method Detail |
---|
public void registerSynchronization(Synchronization synchronization)
Synchronization
callback for this transaction.
synchronization
- The synchronization callback to register.
HibernateException
public 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 |