Package org.apache.openjpa.event
Interface EndTransactionListener
- All Known Subinterfaces:
TransactionListener
- All Known Implementing Classes:
AbstractTransactionListener
,AuditManager
,RemoteCommitEventManager
public interface EndTransactionListener
Notified when transactions end.
- Since:
- 0.2.5.0
- Author:
- Patrick Linskey, Abe White
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterCommit
(TransactionEvent event) Notification that a transaction has successfully committed.void
Notification that a transaction has successfully committed and the transaction is no longer active.void
afterRollback
(TransactionEvent event) Notification that a transaction has been rolled back.void
Notification that a transaction has been rolled back and the transaction is no longer active.void
Notification that state transitions are complete.void
beforeCommit
(TransactionEvent event) Notification that the next flush is for the transaction commit.
-
Method Details
-
beforeCommit
Notification that the next flush is for the transaction commit.- See Also:
-
afterCommit
Notification that a transaction has successfully committed.- See Also:
-
afterRollback
Notification that a transaction has been rolled back.- See Also:
-
afterStateTransitions
Notification that state transitions are complete.- See Also:
-
afterCommitComplete
Notification that a transaction has successfully committed and the transaction is no longer active.- See Also:
-
afterRollbackComplete
Notification that a transaction has been rolled back and the transaction is no longer active.- See Also:
-