1 24 package org.objectweb.jalisto.se.jca; 25 26 import javax.transaction.xa.Xid ; 27 28 public class JalistoXid implements Xid { 29 public byte[] getBranchQualifier() { 30 return new byte[0]; 31 } 32 33 public int getFormatId() { 34 return 0; 35 } 36 37 public byte[] getGlobalTransactionId() { 38 return new byte[0]; 39 } 40 41 public int hashCode() { 42 return 0; 43 } 44 45 public boolean equals(Object o) { 46 try { 47 return (o instanceof JalistoXid); 48 } catch (Exception e) { 49 } 50 return false; 51 } 52 } 53 | Popular Tags |