org.jboss.ejb.client
Class XidTransactionID
java.lang.Object
org.jboss.ejb.client.TransactionID
org.jboss.ejb.client.XidTransactionID
- All Implemented Interfaces:
- Serializable
public final class XidTransactionID
- extends TransactionID
A transaction ID for an XID, used to propagate transactions from a transaction controller running on this or
a calling node.
- Author:
- David M. Lloyd
- See Also:
- Serialized Form
Method Summary |
Xid |
getXid()
Get the corresponding XID for this transaction. |
boolean |
isSameXid(Xid xid)
Determine whether the given Xid is the same as this Xid. |
getXid
public Xid getXid()
- Get the corresponding XID for this transaction.
- Returns:
- the XID
isSameXid
public boolean isSameXid(Xid xid)
- Determine whether the given Xid is the same as this Xid.
- Parameters:
xid
- the xid to test
- Returns:
true
if it is the same Xid
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.