Package org.exolab.castor.persist
Interface TxSynchronizable
-
- All Known Subinterfaces:
LazyCollection<T>
- All Known Implementing Classes:
LazyHashSet
public interface TxSynchronizable
This interface offers some callback hooks for several different stages during a transaction. A class implementing this interface can be registered in a transaction (TransactionContext.addTxSynchronizable(org.exolab.castor.persist.TxSynchronizable)
) and it will receive the corresponding calls.- Author:
- m.renner@exxcellent.de
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
committed(TransactionContext tx)
Called at the end of a transaction after commit.void
rolledback(TransactionContext tx)
Called at the end of a transaction after rollback.
-
-
-
Method Detail
-
committed
void committed(TransactionContext tx)
Called at the end of a transaction after commit.
-
rolledback
void rolledback(TransactionContext tx)
Called at the end of a transaction after rollback.
-
-