| hu.netmind.persistence.TransactionListener
All known Subclasses: hu.netmind.persistence.ClassTracker, hu.netmind.persistence.ObjectTracker, hu.netmind.persistence.Database,
TransactionListener | public interface TransactionListener (Code) | | Listener interface receives commit or rollback events from transaction
tracker.
Note:You can't use the transaction object received to do database
related operations in these methods, but you can get a transaction
from the TransactionTracker if you wish to do database operations. The
current transaction in these methods is the transaction above the one
received, if there is one.
author: Brautigam Robert version: Revision: $Revision$ |
Method Summary | |
void | transactionCommited(Transaction transaction) Called, when transaction tracker commits a transaction successfully.
Parameters: transaction - The transaction which committed. | void | transactionRolledback(Transaction transaction) Called, when transaction tracker rolls back a transaction successfully.
Parameters: transaction - The transaction which rolled back. |
transactionCommited | void transactionCommited(Transaction transaction)(Code) | | Called, when transaction tracker commits a transaction successfully.
Parameters: transaction - The transaction which committed. Do NOT use thistransaction to access database. |
transactionRolledback | void transactionRolledback(Transaction transaction)(Code) | | Called, when transaction tracker rolls back a transaction successfully.
Parameters: transaction - The transaction which rolled back. Do NOT use thistransaction to access database. |
|
|