public abstract class TransactionOperationAbstract extends Object implements TransactionOperation
| Constructor and Description |
|---|
TransactionOperationAbstract() |
| 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() |
public void beforePrepare(Transaction tx) throws Exception
beforePrepare in interface TransactionOperationExceptionpublic void afterPrepare(Transaction tx)
Any verification has to be done on before prepare
afterPrepare in interface TransactionOperationpublic void beforeCommit(Transaction tx) throws Exception
beforeCommit in interface TransactionOperationExceptionpublic void afterCommit(Transaction tx)
Any verification has to be done on before commit
afterCommit in interface TransactionOperationpublic void beforeRollback(Transaction tx) throws Exception
beforeRollback in interface TransactionOperationExceptionpublic void afterRollback(Transaction tx)
Any verification has to be done on before rollback
afterRollback in interface TransactionOperationpublic List<MessageReference> getRelatedMessageReferences()
getRelatedMessageReferences in interface TransactionOperationpublic List<MessageReference> getListOnConsumer(long consumerID)
getListOnConsumer in interface TransactionOperationCopyright © 2018 JBoss by Red Hat. All rights reserved.