org.jboss.jms.tx
Class MessagingXid
java.lang.Object
org.jboss.jms.tx.MessagingXid
- All Implemented Interfaces:
- java.io.Serializable, Streamable, javax.transaction.xa.Xid
- public class MessagingXid
- extends java.lang.Object
- implements javax.transaction.xa.Xid, java.io.Serializable, Streamable
Xid implementation
- Version:
- $Revision 1.1 $
- Author:
- Tim Fox, Juha Lindfors
- See Also:
- Serialized Form
Fields inherited from interface javax.transaction.xa.Xid |
MAXBQUALSIZE, MAXGTRIDSIZE |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MessagingXid
public MessagingXid()
MessagingXid
public MessagingXid(byte[] branchQualifier,
int formatId,
byte[] globalTransactionId)
MessagingXid
public MessagingXid(javax.transaction.xa.Xid other)
getBranchQualifier
public byte[] getBranchQualifier()
- Specified by:
getBranchQualifier
in interface javax.transaction.xa.Xid
getFormatId
public int getFormatId()
- Specified by:
getFormatId
in interface javax.transaction.xa.Xid
getGlobalTransactionId
public byte[] getGlobalTransactionId()
- Specified by:
getGlobalTransactionId
in interface javax.transaction.xa.Xid
hashCode
public int hashCode()
equals
public boolean equals(java.lang.Object other)
toString
public java.lang.String toString()
read
public void read(java.io.DataInputStream in)
throws java.lang.Exception
- Specified by:
read
in interface Streamable
- Throws:
java.lang.Exception
write
public void write(java.io.DataOutputStream out)
throws java.lang.Exception
- Specified by:
write
in interface Streamable
- Throws:
java.lang.Exception
Copyright © 2006 JBoss Inc. All Rights Reserved.