com.sun.xml.ws.tx.at.internal
Class BranchXidImpl
java.lang.Object
com.sun.xml.ws.tx.at.internal.BranchXidImpl
- All Implemented Interfaces:
- Externalizable, Serializable, Xid
public class BranchXidImpl
- extends Object
- implements Xid, Externalizable
Xid implementation used for persisting branch state.
Wrapper over XidImpl to override semantics of hashCode and equals
- See Also:
- Serialized Form
BranchXidImpl
public BranchXidImpl()
BranchXidImpl
public BranchXidImpl(Xid xid)
getBranchQualifier
public byte[] getBranchQualifier()
- Specified by:
getBranchQualifier in interface Xid
getFormatId
public int getFormatId()
- Specified by:
getFormatId in interface Xid
getGlobalTransactionId
public byte[] getGlobalTransactionId()
- Specified by:
getGlobalTransactionId in interface Xid
getDelegate
public Xid getDelegate()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.