org.teiid.client.xa
Class XidImpl
java.lang.Object
org.teiid.client.xa.XidImpl
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, javax.transaction.xa.Xid
public class XidImpl
- extends java.lang.Object
- implements javax.transaction.xa.Xid, java.io.Externalizable
Teiid implementation of Xid.
- See Also:
- Serialized Form
Fields inherited from interface javax.transaction.xa.Xid |
MAXBQUALSIZE, MAXGTRIDSIZE |
Constructor Summary |
XidImpl()
|
XidImpl(int formatID,
byte[] globalTransactionId,
byte[] branchQualifier)
|
XidImpl(javax.transaction.xa.Xid xid)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
XidImpl
public XidImpl()
XidImpl
public XidImpl(javax.transaction.xa.Xid xid)
XidImpl
public XidImpl(int formatID,
byte[] globalTransactionId,
byte[] branchQualifier)
getFormatId
public int getFormatId()
- Specified by:
getFormatId
in interface javax.transaction.xa.Xid
- See Also:
Xid.getFormatId()
getGlobalTransactionId
public byte[] getGlobalTransactionId()
- Specified by:
getGlobalTransactionId
in interface javax.transaction.xa.Xid
- See Also:
Xid.getGlobalTransactionId()
getBranchQualifier
public byte[] getBranchQualifier()
- Specified by:
getBranchQualifier
in interface javax.transaction.xa.Xid
- See Also:
Xid.getBranchQualifier()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
- See Also:
Object.hashCode()
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
Copyright © 2010. All Rights Reserved.