Package net.sf.ehcache.transaction.xa
Class SerializableXid
- java.lang.Object
-
- net.sf.ehcache.transaction.xa.SerializableXid
-
- All Implemented Interfaces:
java.io.Serializable,javax.transaction.xa.Xid
public class SerializableXid extends java.lang.Object implements javax.transaction.xa.Xid, java.io.SerializableA serializable XID- Author:
- Ludovic Orban
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SerializableXid(javax.transaction.xa.Xid xid)Create a SerializableXid, copying the GTRID and BQUAL of an existing XID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)byte[]getBranchQualifier()intgetFormatId()byte[]getGlobalTransactionId()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getFormatId
public int getFormatId()
- Specified by:
getFormatIdin interfacejavax.transaction.xa.Xid
-
getBranchQualifier
public byte[] getBranchQualifier()
- Specified by:
getBranchQualifierin interfacejavax.transaction.xa.Xid
-
getGlobalTransactionId
public byte[] getGlobalTransactionId()
- Specified by:
getGlobalTransactionIdin interfacejavax.transaction.xa.Xid
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-