org.exolab.castor.persist

Interface TxSynchronizable

Known Implementing Classes:
RelationCollection

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(TxSynchronizable)) and it will receive the corresponding calls.
Author:
m.renner@exxcellent.de

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 Details

committed

public void committed(TransactionContext tx)
Called at the end of a transaction after commit.

rolledback

public void rolledback(TransactionContext tx)
Called at the end of a transaction after rollback.

Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com