001package com.avaje.ebean.event; 002 003import com.avaje.ebean.Transaction; 004 005/** 006 * A no operation implementation of TransactionEventListener. Objects extending 007 * this need to only override the methods they want to. 008 */ 009public abstract class TransactionEventListenerAdapter implements TransactionEventListener { 010 011 public void postTransactionCommit(Transaction tx) { 012 // do nothing by default 013 } 014 015 public void postTransactionRollback(Transaction tx, Throwable cause) { 016 // do nothing by default 017 } 018}