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
 void beforeCompletion()
          Notify that the commit of the transaction is about to complete.
 void finishTransaction()
          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 Detail

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