org.jboss.messaging.core.transaction.impl
Class XidImpl
java.lang.Object
org.jboss.messaging.core.transaction.impl.XidImpl
- All Implemented Interfaces:
- java.io.Serializable, javax.transaction.xa.Xid
public class XidImpl
- extends java.lang.Object
- implements javax.transaction.xa.Xid, java.io.Serializable
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 |
|
Constructor Summary |
XidImpl(byte[] branchQualifier,
int formatId,
byte[] globalTransactionId)
Standard constructor |
XidImpl(javax.transaction.xa.Xid other)
Copy constructor |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
XidImpl
public XidImpl(byte[] branchQualifier,
int formatId,
byte[] globalTransactionId)
- Standard constructor
- Parameters:
branchQualifier - formatId - globalTransactionId -
XidImpl
public XidImpl(javax.transaction.xa.Xid other)
- Copy constructor
- Parameters:
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()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2006 JBoss Inc. All Rights Reserved.