public static final class PostOfficeImpl.AddOperation extends Object implements TransactionOperation
| Modifier and Type | Method and Description |
|---|---|
void |
afterCommit(Transaction tx)
After commit shouldn't throw any exception.
|
void |
afterPrepare(Transaction tx)
After prepare shouldn't throw any exception.
|
void |
afterRollback(Transaction tx)
After rollback shouldn't throw any exception.
|
void |
beforeCommit(Transaction tx) |
void |
beforePrepare(Transaction tx) |
void |
beforeRollback(Transaction tx) |
List<MessageReference> |
getListOnConsumer(long consumerID) |
List<MessageReference> |
getRelatedMessageReferences() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterRollbackpublic void afterCommit(Transaction tx)
TransactionOperationAny verification has to be done on before commit
afterCommit in interface TransactionOperationpublic void afterPrepare(Transaction tx)
TransactionOperationAny verification has to be done on before prepare
afterPrepare in interface TransactionOperationpublic void afterRollback(Transaction tx)
TransactionOperationAny verification has to be done on before rollback
afterRollback in interface TransactionOperationpublic void beforeCommit(Transaction tx) throws Exception
beforeCommit in interface TransactionOperationExceptionpublic void beforePrepare(Transaction tx) throws Exception
beforePrepare in interface TransactionOperationExceptionpublic void beforeRollback(Transaction tx) throws Exception
beforeRollback in interface TransactionOperationExceptionpublic List<MessageReference> getRelatedMessageReferences()
getRelatedMessageReferences in interface TransactionOperationpublic List<MessageReference> getListOnConsumer(long consumerID)
getListOnConsumer in interface TransactionOperationCopyright © 2021 JBoss by Red Hat. All rights reserved.