Package com.sun.xml.ws.tx.at.internal
Class ForeignRecoveryContextManager
- java.lang.Object
-
- com.sun.xml.ws.tx.at.internal.ForeignRecoveryContextManager
-
public class ForeignRecoveryContextManager extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ForeignRecoveryContext
addAndGetForeignRecoveryContextForTidByteArray(Xid xid)
Called from WSATServerHelper.register to create registerResponseType This should be a get, each time as we shouldn't be preparing a register call for the same server twice (this should be gated by "if (TransactionIdHelper.getInstance().getXid(tid.getBytes()) == null)"void
delete(XidImpl xid)
ForeignRecoveryContext
getForeignRecoveryContext(Xid xid)
static ForeignRecoveryContextManager
getInstance()
-
-
-
Method Detail
-
getInstance
public static ForeignRecoveryContextManager getInstance()
-
addAndGetForeignRecoveryContextForTidByteArray
public ForeignRecoveryContext addAndGetForeignRecoveryContextForTidByteArray(Xid xid)
Called from WSATServerHelper.register to create registerResponseType This should be a get, each time as we shouldn't be preparing a register call for the same server twice (this should be gated by "if (TransactionIdHelper.getInstance().getXid(tid.getBytes()) == null)"- Parameters:
xid
- Xid the foreign xid of the imported transaction- Returns:
- ForeignRecoveryContext
-
delete
public void delete(XidImpl xid)
-
getForeignRecoveryContext
public ForeignRecoveryContext getForeignRecoveryContext(Xid xid)
-
-