|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
---|---|
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 |
---|
void committed(TransactionContext tx)
void rolledback(TransactionContext tx)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |