public class RegisteredSynchronization extends Object implements Synchronization
Synchronization Hibernate registers when needed for JTA callbacks| Constructor and Description |
|---|
RegisteredSynchronization(SynchronizationCallbackCoordinator synchronizationCallbackCoordinator) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(int status)
This method is invoked after the transaction has committed or
rolled back.
|
void |
beforeCompletion()
This method is invoked before the start of the commit
process.
|
public RegisteredSynchronization(SynchronizationCallbackCoordinator synchronizationCallbackCoordinator)
public void beforeCompletion()
beforeCompletion in interface Synchronizationpublic void afterCompletion(int status)
afterCompletion in interface Synchronizationstatus - The status of the completed transaction.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.