1 23 package org.objectweb.joram.client.jms; 24 25 29 public class XidImpl implements javax.transaction.xa.Xid 30 { 31 public byte[] branchQualifier; 32 public int formatId; 33 public byte[] globalTransactionId; 34 35 36 37 public XidImpl(byte[] branchQualifier, 38 int formatId, 39 byte[] globalTransactionId) 40 { 41 this.branchQualifier = branchQualifier; 42 this.formatId = formatId; 43 this.globalTransactionId = globalTransactionId; 44 } 45 46 47 public byte[] getBranchQualifier() 48 { 49 return branchQualifier; 50 } 51 52 public int getFormatId() 53 { 54 return formatId; 55 } 56 57 public byte[] getGlobalTransactionId() 58 { 59 return globalTransactionId; 60 } 61 } 62 | Popular Tags |