org.datanucleus
Interface TransactionEventListener


public interface TransactionEventListener

Listener of events raised on transaction begin, commit and rollback.


Method Summary
 void transactionCommitted()
          Method invoked when the transaction is committed.
 void transactionEnded()
          Method invoked when the transaction is ended (Using XA).
 void transactionFlushed()
          Method invoked when the transaction is flushed (happens before commit, rollback).
 void transactionPreCommit()
          Method invoked before the transaction commit.
 void transactionPreRollBack()
          Method invoked before the transaction is rolledback.
 void transactionRolledBack()
          Method invoked when the transaction is rolled back.
 void transactionStarted()
          Method invoked when the transaction is started.
 

Method Detail

transactionStarted

void transactionStarted()
Method invoked when the transaction is started.


transactionEnded

void transactionEnded()
Method invoked when the transaction is ended (Using XA).


transactionFlushed

void transactionFlushed()
Method invoked when the transaction is flushed (happens before commit, rollback).


transactionPreCommit

void transactionPreCommit()
Method invoked before the transaction commit.


transactionPreRollBack

void transactionPreRollBack()
Method invoked before the transaction is rolledback.


transactionCommitted

void transactionCommitted()
Method invoked when the transaction is committed.


transactionRolledBack

void transactionRolledBack()
Method invoked when the transaction is rolled back.



Copyright © 2010. All Rights Reserved.