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,
String parentName)
Acquire a list of all unresolved subordinate transactions from the location associated with this provider.
|
@NotNull SubordinateTransactionControl lookupXid(Xid xid) throws XAException
xid - the transaction IDXAException - if the lookup failed for some reason@NotNull Xid[] recover(int flag, String parentName) throws XAException
flag - the recovery flagparentName - the parent node nameXAException - if an error occurs@NotNull SimpleTransactionControl begin(int timeout) throws SystemException
timeout - the timeout of the transaction in secondsnull)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 © 2017 JBoss by Red Hat. All rights reserved.