org.jboss.messaging.core.transaction
Interface TransactionOperation


public interface TransactionOperation

A TransactionOperation

Author:
Tim Fox

Method Summary
 void afterCommit(Transaction tx)
           
 void afterPrepare(Transaction tx)
           
 void afterRollback(Transaction tx)
           
 void beforeCommit(Transaction tx)
           
 void beforePrepare(Transaction tx)
           
 void beforeRollback(Transaction tx)
           
 java.util.Collection<Queue> getDistinctQueues()
          rollback will need a distinct list of Queues in order to lock those queues before calling rollback
 

Method Detail

getDistinctQueues

java.util.Collection<Queue> getDistinctQueues()
rollback will need a distinct list of Queues in order to lock those queues before calling rollback


beforePrepare

void beforePrepare(Transaction tx)
                   throws java.lang.Exception
Throws:
java.lang.Exception

beforeCommit

void beforeCommit(Transaction tx)
                  throws java.lang.Exception
Throws:
java.lang.Exception

beforeRollback

void beforeRollback(Transaction tx)
                    throws java.lang.Exception
Throws:
java.lang.Exception

afterPrepare

void afterPrepare(Transaction tx)
                  throws java.lang.Exception
Throws:
java.lang.Exception

afterCommit

void afterCommit(Transaction tx)
                 throws java.lang.Exception
Throws:
java.lang.Exception

afterRollback

void afterRollback(Transaction tx)
                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2006 JBoss Inc. All Rights Reserved.