public interface RemoteTransactionPeer
| Modifier and Type | Method and Description |
|---|---|
SimpleTransactionControl |
begin(int timeout)
Establish a remote user-controlled transaction without local enlistment.
|
default <T> T |
getProviderInterface(Class<T> clazz)
Get the provider interface with the given type for this peer.
|
SubordinateTransactionControl |
lookupXid(Xid xid)
Look up an outflow handle for a remote transaction with the given XID.
|
Xid[] |
recover(int flag)
Acquire a list of all unresolved subordinate transactions from the location associated with this provider.
|
SubordinateTransactionControl lookupXid(Xid xid) throws XAException
xid - the transaction IDXAException - if the lookup failed for some reasonXid[] recover(int flag) throws XAException
flag - the recovery flagXAException - if an error occursSimpleTransactionControl begin(int timeout) throws SystemException
timeout - the transaction timeout to use, or 0 to use the remote system defaultnull)SystemException - if an unexpected error occursdefault <T> T getProviderInterface(Class<T> clazz)
T - the provider interface typeclazz - the provider interface type class (must not be null)null if no such interface is supportedCopyright © 2016 JBoss by Red Hat. All rights reserved.