|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.transaction.Transaction
org.apache.activemq.transaction.XATransaction
public class XATransaction
| Field Summary |
|---|
| Fields inherited from class org.apache.activemq.transaction.Transaction |
|---|
FINISHED_STATE, IN_USE_STATE, PREPARED_STATE, START_STATE |
| Constructor Summary | |
|---|---|
XATransaction(TransactionStore transactionStore,
XATransactionId xid,
TransactionBroker broker)
|
|
| Method Summary | |
|---|---|
void |
commit(boolean onePhase)
|
TransactionId |
getTransactionId()
|
int |
prepare()
|
void |
rollback()
|
| Methods inherited from class org.apache.activemq.transaction.Transaction |
|---|
addSynchronization, fireAfterCommit, fireAfterRollback, getState, isPrepared, prePrepare, removeSynchronization, setState, size, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XATransaction(TransactionStore transactionStore,
XATransactionId xid,
TransactionBroker broker)
| Method Detail |
|---|
public void commit(boolean onePhase)
throws XAException,
IOException
commit in class TransactionXAException
IOException
public void rollback()
throws XAException,
IOException
rollback in class TransactionXAException
IOException
public int prepare()
throws XAException,
IOException
prepare in class TransactionXAException
IOExceptionpublic TransactionId getTransactionId()
getTransactionId in class Transaction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||