Package com.aquima.interactions.profile
Interface ITransactionListener
- All Superinterfaces:
IEventListener
,Serializable
- All Known Implementing Classes:
TxEventListener
Interface for listeners that wish to be notified of transaction events.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The mask of the event that is supported by this listener. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onCommitTransaction
(ITransactionEvent transactionEvent) This method is invoked on the listener just before the transaction is committed.void
onRollbackTransaction
(ITransactionEvent transactionEvent) This method is invoked on the listener just before a roll-back of a transaction takes place.void
onStartTransaction
(ITransactionEvent transactionEvent) This method is invoked on the listener just before a transaction is started.Methods inherited from interface com.aquima.interactions.foundation.events.IEventListener
getType
-
Field Details
-
TYPE
static final int TYPEThe mask of the event that is supported by this listener.- See Also:
-
-
Method Details
-
onStartTransaction
This method is invoked on the listener just before a transaction is started.- Parameters:
transactionEvent
- Event containing information about the transaction.
-
onCommitTransaction
This method is invoked on the listener just before the transaction is committed.- Parameters:
transactionEvent
- Event containing information about the transaction.
-
onRollbackTransaction
This method is invoked on the listener just before a roll-back of a transaction takes place.- Parameters:
transactionEvent
- Event containing information about the transaction.
-