public class JavaXidImpl
extends java.lang.Object
implements javax.transaction.xa.Xid, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
JOTM_FORMAT_ID |
Constructor and Description |
---|
JavaXidImpl(Xid jotmXid)
Build an javax.transaction.xa.Xid from the org.objectweb.jotm.Xid
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj2)
return true if objects are identical
|
byte[] |
getBranchQualifier()
Get the Branch Qualifier for that Xid
|
int |
getFormatId()
Get the format id for that Xid
|
byte[] |
getGlobalTransactionId()
Get the Global Id for that Xid
|
int |
hashCode()
return a hashcode value for this object
|
java.lang.String |
toString()
String form
default toString() compresses Xid's
|
java.lang.String |
toString(boolean Full) |
public static final int JOTM_FORMAT_ID
public JavaXidImpl(Xid jotmXid)
public int getFormatId()
getFormatId
in interface javax.transaction.xa.Xid
public byte[] getGlobalTransactionId()
getGlobalTransactionId
in interface javax.transaction.xa.Xid
public byte[] getBranchQualifier()
getBranchQualifier
in interface javax.transaction.xa.Xid
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(boolean Full)
public boolean equals(java.lang.Object obj2)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object