public interface TransactionEventListener
Modifier and Type | Method and Description |
---|---|
void |
transactionCommitted()
Method invoked when the transaction is committed.
|
void |
transactionEnded()
Method invoked when the transaction is ended (Using XA).
|
void |
transactionFlushed()
Method invoked when the transaction is flushed (happens before commit, rollback).
|
void |
transactionPreCommit()
Method invoked before the transaction commit.
|
void |
transactionPreFlush()
Method invoked just before a flush.
|
void |
transactionPreRollBack()
Method invoked before the transaction is rolledback.
|
void |
transactionReleaseSavepoint(String name)
Savepoint to be released for this name.
|
void |
transactionRollbackToSavepoint(String name)
Invoke a rollback to this savepoint name.
|
void |
transactionRolledBack()
Method invoked when the transaction is rolled back.
|
void |
transactionSetSavepoint(String name)
Savepoint to be registered under this name.
|
void |
transactionStarted()
Method invoked when the transaction is started.
|
void transactionStarted()
void transactionEnded()
void transactionPreFlush()
void transactionFlushed()
void transactionPreCommit()
void transactionCommitted()
void transactionPreRollBack()
void transactionRolledBack()
void transactionSetSavepoint(String name)
name
- Name of the savepointvoid transactionReleaseSavepoint(String name)
name
- Name of the savepointvoid transactionRollbackToSavepoint(String name)
name
- Name of the savepointCopyright © 2015. All rights reserved.