Package net.sf.ehcache.transaction.local
Interface TransactionListener
-
public interface TransactionListenerA listener interface to get called back when a transaction is being terminated- Author:
- Ludovic Orban
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterCommit()This method gets called right after the transaction is committedvoidafterRollback()This method gets called right after the transaction is rolled backvoidbeforeCommit()This method gets called right before the transaction is committed
-
-
-
Method Detail
-
beforeCommit
void beforeCommit()
This method gets called right before the transaction is committed
-
afterCommit
void afterCommit()
This method gets called right after the transaction is committed
-
afterRollback
void afterRollback()
This method gets called right after the transaction is rolled back
-
-