com.sun.xml.ws.tx.at.internal
Class BranchXidImpl
java.lang.Object
com.sun.xml.ws.tx.at.internal.BranchXidImpl
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, javax.transaction.xa.Xid
public class BranchXidImpl
- extends java.lang.Object
- implements javax.transaction.xa.Xid, java.io.Externalizable
Xid implementation used for persisting branch state.
Wrapper over XidImpl to override semantics of hashCode and equals
- 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 |
BranchXidImpl
public BranchXidImpl()
BranchXidImpl
public BranchXidImpl(javax.transaction.xa.Xid xid)
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
getDelegate
public javax.transaction.xa.Xid getDelegate()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
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 © 2005-2011 Oracle Corporation. All Rights Reserved.