org.datanucleus.transaction
Class XidImpl

java.lang.Object
  extended by org.datanucleus.transaction.XidImpl
All Implemented Interfaces:
javax.transaction.xa.Xid

public class XidImpl
extends java.lang.Object
implements javax.transaction.xa.Xid


Field Summary
 
Fields inherited from interface javax.transaction.xa.Xid
MAXBQUALSIZE, MAXGTRIDSIZE
 
Constructor Summary
XidImpl(int branchQualifierBytes, int formatId, byte[] globalTransactionIdBytes)
           
XidImpl(int branchQualifierBytes, int formatId, int globalTransactionIdBytes)
           
 
Method Summary
 byte[] getBranchQualifier()
           
 int getFormatId()
           
 byte[] getGlobalTransactionId()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XidImpl

public XidImpl(int branchQualifierBytes,
               int formatId,
               byte[] globalTransactionIdBytes)

XidImpl

public XidImpl(int branchQualifierBytes,
               int formatId,
               int globalTransactionIdBytes)
Method Detail

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.