Package wt.pom

Interface TransactionCommitListener

All Superinterfaces:
TransactionListener
All Known Implementing Classes:
SummaryEventFactory

public interface TransactionCommitListener extends TransactionListener
This interface specifies methods for processing that occurs at the end of a transaction after normal work is completed, but before the transaction is committed.

Supported API: true

Extendable: true
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notify that the commit of the transaction is about to complete.
    void
    Notify that all of the transaction's work has been completed and any remaining work should now be performed.

    Methods inherited from interface wt.pom.TransactionListener

    notifyCommit, notifyRollback
  • Method Details

    • finishTransaction

      void finishTransaction() throws WTException
      Notify that all of the transaction's work has been completed and any remaining work should now be performed. This work will be included within the same transaction.

      Supported API: true
      Throws:
      WTException
    • beforeCompletion

      void beforeCompletion() throws WTException
      Notify that the commit of the transaction is about to complete. This method should only validate the current work performed by the transaction. No INSERT, UPDATE or DELETE operations should occur, either directly or indirectly.

      Supported API: true
      Throws:
      WTException