|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.tx.at.runtime.TransactionIdHelper
public abstract class TransactionIdHelper
Helper class for converting between Xids and WS-AT transaction Ids.
| Constructor Summary | |
|---|---|
TransactionIdHelper()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionIdHelper()
| Method Detail |
|---|
public static TransactionIdHelper getInstance()
public abstract String xid2wsatid(Xid xid)
xid - A Xid.
public abstract Xid wsatid2xid(String wsatid)
wsatid - A -based WS-AT tid
public 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||