org.jboss.mq
Class JBossMQXid
java.lang.Object
org.jboss.mq.JBossMQXid
- All Implemented Interfaces:
- Serializable, Xid
public class JBossMQXid
- extends Object
- implements Serializable, Xid
This class is a wrapper for non-serializable implementations of
java.transaction.xa.Xid.
- Version:
- $Revision: 1.1.4.1 $
- Author:
- Daniel Bloomfield Ramagem (daniel.ramagem@gmail.com), Adrian Brock
- See Also:
- Serialized Form
JBossMQXid
public JBossMQXid(Xid xid)
- Create a new wrapper Xid
- Parameters:
xid
- the wrapped xid
getFormatId
public int getFormatId()
- Specified by:
getFormatId
in interface Xid
getGlobalTransactionId
public byte[] getGlobalTransactionId()
- Specified by:
getGlobalTransactionId
in interface Xid
getBranchQualifier
public byte[] getBranchQualifier()
- Specified by:
getBranchQualifier
in interface Xid
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.