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 TransactionOperation
Exception
public void afterPrepare(Transaction tx)
Any verification has to be done on before prepare
afterPrepare
in interface TransactionOperation
public void beforeCommit(Transaction tx) throws Exception
beforeCommit
in interface TransactionOperation
Exception
public void afterCommit(Transaction tx)
Any verification has to be done on before commit
afterCommit
in interface TransactionOperation
public void beforeRollback(Transaction tx) throws Exception
beforeRollback
in interface TransactionOperation
Exception
public void afterRollback(Transaction tx)
Any verification has to be done on before rollback
afterRollback
in interface TransactionOperation
public List<MessageReference> getRelatedMessageReferences()
getRelatedMessageReferences
in interface TransactionOperation
public List<MessageReference> getListOnConsumer(long consumerID)
getListOnConsumer
in interface TransactionOperation
Copyright © 2017 JBoss by Red Hat. All rights reserved.