org.apache.jackrabbit.rmi.remote
Class SerializableXid

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

public class SerializableXid
extends Object
implements Serializable, 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(Xid xid)
           
 
Method Summary
 boolean equals(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(Xid xid)
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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


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