public interface Synchronization
Transaction.registerSynchronization
method to receive callbacks before and after a transaction commits or
rolls back.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.
|
void beforeCompletion()
void afterCompletion(int status)
status
- The status of the completed transaction.Copyright © 2017 JBoss by Red Hat. All rights reserved.