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> |
getRelatedMessageReferences() |
public void beforePrepare(Transaction tx) throws Exception
beforePrepare
in interface TransactionOperation
Exception
public void afterPrepare(Transaction tx)
afterPrepare
in interface TransactionOperation
public void beforeCommit(Transaction tx) throws Exception
beforeCommit
in interface TransactionOperation
Exception
public void afterCommit(Transaction tx)
afterCommit
in interface TransactionOperation
public void beforeRollback(Transaction tx) throws Exception
beforeRollback
in interface TransactionOperation
Exception
public void afterRollback(Transaction tx)
afterRollback
in interface TransactionOperation
public List<MessageReference> getRelatedMessageReferences()
getRelatedMessageReferences
in interface TransactionOperation
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.