- Version:
- $Rev: 740842 $ $Date: 2009-02-04 14:51:48 -0500 (Wed, 04 Feb 2009) $
todo Should have a way of setting baseId
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XidFactoryImpl
public XidFactoryImpl(byte[] tmId)
XidFactoryImpl
public XidFactoryImpl()
createXid
public Xid createXid()
- Specified by:
createXid
in interface XidFactory
createBranch
public Xid createBranch(Xid globalId,
int branch)
- Specified by:
createBranch
in interface XidFactory
matchesGlobalId
public boolean matchesGlobalId(byte[] globalTransactionId)
- Specified by:
matchesGlobalId
in interface XidFactory
matchesBranchId
public boolean matchesBranchId(byte[] branchQualifier)
- Specified by:
matchesBranchId
in interface XidFactory
recover
public Xid recover(int formatId,
byte[] globalTransactionid,
byte[] branchQualifier)
- Specified by:
recover
in interface XidFactory
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.