|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_tm.XidImpl
Xid implementation for JTA
Field Summary | |
static int |
JONAS_FORMAT_ID
|
Fields inherited from interface javax.transaction.xa.Xid |
MAXBQUALSIZE, MAXGTRIDSIZE |
Constructor Summary | |
XidImpl(int formatId,
byte[] gtrid,
byte[] bqual)
build Xid with all it's components (for performance on java serialization) |
|
XidImpl(int fid,
int bqualsz,
byte[] tid)
Build an Xid from an otid_t CORBA |
|
XidImpl(java.lang.String serverName,
int ipAddr)
Build an Xid for a local transaction |
Method Summary | |
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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int JONAS_FORMAT_ID
Constructor Detail |
public XidImpl(int formatId, byte[] gtrid, byte[] bqual)
public XidImpl(java.lang.String serverName, int ipAddr)
public XidImpl(int fid, int bqualsz, byte[] tid)
Method Detail |
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()
public boolean equals(java.lang.Object obj2)
public int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |