com.avaje.ebean.event
Interface TransactionEventListener

All Known Implementing Classes:
TransactionEventListenerAdapter

public interface TransactionEventListener

Used to get notified about commit or rollback of a transaction


Method Summary
 void postTransactionCommit(Transaction tx)
          Called after the transaction has been committed
 void postTransactionRollback(Transaction tx, Throwable cause)
          Called after the transaction has been rolled back
 

Method Detail

postTransactionCommit

void postTransactionCommit(Transaction tx)
Called after the transaction has been committed


postTransactionRollback

void postTransactionRollback(Transaction tx,
                             Throwable cause)
Called after the transaction has been rolled back



Copyright © 2012. All Rights Reserved.