org.jboss.messaging.core.transaction
Interface TransactionOperation
public interface TransactionOperation
A TransactionOperation
- Author:
- Tim Fox
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.