com.avaje.ebean.event
Class TransactionEventListenerAdapter

java.lang.Object
  extended by com.avaje.ebean.event.TransactionEventListenerAdapter
All Implemented Interfaces:
TransactionEventListener

public abstract class TransactionEventListenerAdapter
extends Object
implements TransactionEventListener

A no operation implementation of TransactionEventListener. Objects extending this need to only override the methods they want to.


Constructor Summary
TransactionEventListenerAdapter()
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionEventListenerAdapter

public TransactionEventListenerAdapter()
Method Detail

postTransactionCommit

public void postTransactionCommit(Transaction tx)
Description copied from interface: TransactionEventListener
Called after the transaction has been committed

Specified by:
postTransactionCommit in interface TransactionEventListener

postTransactionRollback

public void postTransactionRollback(Transaction tx,
                                    Throwable cause)
Description copied from interface: TransactionEventListener
Called after the transaction has been rolled back

Specified by:
postTransactionRollback in interface TransactionEventListener


Copyright © 2012. All Rights Reserved.