public abstract class TransactionIdHelper extends Object
| Constructor and Description |
|---|
TransactionIdHelper() |
| Modifier and Type | Method and Description |
|---|---|
static TransactionIdHelper |
getInstance()
Returns the TransactionIdHelper instance.
|
abstract Xid |
getOrCreateXid(byte[] tid)
Returns a foreign Xid that is mapped to the specified WS-AT transaction Id.
|
abstract byte[] |
getTid(Xid xid)
Returns the foreign WS-AT transaction Id that is mapped to the foreign Xid.
|
abstract Xid |
getXid(byte[] tid)
Returns the foreign Xid that is mapped to the specified WS-AT transaction
Id.
|
abstract Xid |
remove(byte[] tid)
Removes the foreign WS-AT tid to Xid mapping
|
abstract byte[] |
remove(Xid xid)
Removes the foreign WS-AT tid to Xid mapping
|
abstract Xid |
wsatid2xid(String wsatid)
Convert a WS-AT Id that was generated from a Xid back into a Xid
|
abstract String |
xid2wsatid(Xid xid)
Convert a Xid to WS-AT Id format.
|
public static TransactionIdHelper getInstance()
public abstract String xid2wsatid(Xid xid)
xid - A Xid.public abstract Xid wsatid2xid(String wsatid)
wsatid - A -based WS-AT tidpublic abstract Xid getOrCreateXid(byte[] tid)
tid - A foreign WS-AT tid in string representation.public abstract Xid getXid(byte[] tid)
tid - A foreign WS-AT tid.public abstract byte[] getTid(Xid xid)
xid - A foreign Xid that was created from the foreign tid.public abstract Xid remove(byte[] tid)
tid - A foreign WS-AT transaction Id.public abstract byte[] remove(Xid xid)
xid - A foreign Xid that is mapped to a foreign tid.Copyright © 2005–2018 Oracle Corporation. All rights reserved.