org.apache.jackrabbit.rmi.remote
Class SerializableXid

java.lang.Object
  extended by org.apache.jackrabbit.rmi.remote.SerializableXid
All Implemented Interfaces:
java.io.Serializable, javax.transaction.xa.Xid

public class SerializableXid
extends java.lang.Object
implements java.io.Serializable, javax.transaction.xa.Xid

Serializable Xid.

Since:
Jackrabbit JCR-RMI 1.5
See Also:
Serialized Form

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

Constructor Detail

SerializableXid

public SerializableXid(javax.transaction.xa.Xid xid)
Method Detail

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

getBranchQualifier

public byte[] getBranchQualifier()
Specified by:
getBranchQualifier in interface javax.transaction.xa.Xid

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object xid)
Overrides:
equals in class java.lang.Object


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.