Interface TransactionOperation
-
- All Known Implementing Classes:
FinishPageMessageOperation,PostOfficeImpl.AddOperation,RefsOperation,TransactionOperationAbstract,TXLargeMessageConfirmationOperation
public interface TransactionOperationA TransactionOperation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterCommit(Transaction tx)After commit shouldn't throw any exception.voidafterPrepare(Transaction tx)After prepare shouldn't throw any exception.voidafterRollback(Transaction tx)After rollback shouldn't throw any exception.voidbeforeCommit(Transaction tx)voidbeforePrepare(Transaction tx)voidbeforeRollback(Transaction tx)List<MessageReference>getListOnConsumer(long consumerID)List<MessageReference>getRelatedMessageReferences()
-
-
-
Method Detail
-
beforePrepare
void beforePrepare(Transaction tx) throws Exception
- Throws:
Exception
-
afterPrepare
void afterPrepare(Transaction tx)
After prepare shouldn't throw any exception.Any verification has to be done on before prepare
-
beforeCommit
void beforeCommit(Transaction tx) throws Exception
- Throws:
Exception
-
afterCommit
void afterCommit(Transaction tx)
After commit shouldn't throw any exception.Any verification has to be done on before commit
-
beforeRollback
void beforeRollback(Transaction tx) throws Exception
- Throws:
Exception
-
afterRollback
void afterRollback(Transaction tx)
After rollback shouldn't throw any exception.Any verification has to be done on before rollback
-
getRelatedMessageReferences
List<MessageReference> getRelatedMessageReferences()
-
getListOnConsumer
List<MessageReference> getListOnConsumer(long consumerID)
-
-