public class HttpRemoteTransactionPeer extends Object implements RemoteTransactionPeer
| Constructor and Description |
|---|
HttpRemoteTransactionPeer(HttpTargetContext targetContext) |
| Modifier and Type | Method and Description |
|---|---|
SimpleTransactionControl |
begin(int timeout)
Establish a remote user-controlled transaction without local enlistment.
|
SubordinateTransactionControl |
lookupXid(Xid xid)
Look up an outflow handle for a remote transaction with the given XID.
|
Xid[] |
recover(int flag,
String parentName)
Acquire a list of all unresolved subordinate transactions from the location associated with this provider.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProviderInterfacepublic HttpRemoteTransactionPeer(HttpTargetContext targetContext)
public SubordinateTransactionControl lookupXid(Xid xid) throws XAException
RemoteTransactionPeerlookupXid in interface RemoteTransactionPeerxid - the transaction IDXAException - if the lookup failed for some reasonpublic Xid[] recover(int flag, String parentName) throws XAException
RemoteTransactionPeerrecover in interface RemoteTransactionPeerflag - the recovery flagparentName - the parent node nameXAException - if an error occurspublic SimpleTransactionControl begin(int timeout) throws SystemException
RemoteTransactionPeerbegin in interface RemoteTransactionPeertimeout - the timeout of the transaction in secondsnull)SystemException - if an unexpected error occursCopyright © 2017 JBoss by Red Hat. All rights reserved.