org.infinispan.transaction.tm
Class DummyXid

java.lang.Object
  extended by org.infinispan.transaction.tm.DummyXid
All Implemented Interfaces:
Xid

public final class DummyXid
extends Object
implements Xid

Implementation of Xid.

Since:
4.0
Author:
Mircea.Markus@jboss.com

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

Constructor Detail

DummyXid

public DummyXid(UUID transactionManagerId)
Method Detail

getFormatId

public int getFormatId()
Specified by:
getFormatId in interface Xid

getGlobalTransactionId

public byte[] getGlobalTransactionId()
Specified by:
getGlobalTransactionId in interface Xid

getBranchQualifier

public byte[] getBranchQualifier()
Specified by:
getBranchQualifier in interface Xid

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.