org.activemq.service.impl
Class XATransactionCommand
java.lang.Object
org.activemq.service.impl.AbstractTransaction
org.activemq.service.impl.XATransactionCommand
- All Implemented Interfaces:
- Transaction
- public class XATransactionCommand
- extends AbstractTransaction
- Version:
- $Revision: 1.1.1.1 $
XATransactionCommand
public XATransactionCommand(ActiveMQXid xid,
Map xaTxs,
TransactionStore transactionStore)
initialise
public void initialise(Map xaTxs,
TransactionStore preparedTransactions)
- Called after the transaction command has been recovered from disk
- Parameters:
xaTxs
- preparedTransactions
-
commit
public void commit(boolean onePhase)
throws XAException
- Throws:
XAException
rollback
public void rollback()
throws XAException
- Throws:
XAException
prepare
public int prepare()
throws XAException
- Throws:
XAException
isXaTransacted
public boolean isXaTransacted()
getTransactionId
public Object getTransactionId()
Copyright © 2004-2007 Protique, Ltd.. All Rights Reserved.