public interface RemoteTransactionProvider extends TransactionProvider
| Modifier and Type | Method and Description |
|---|---|
RemoteTransactionPeer |
getPeerHandle(URI location)
Get a handle for a specific peer.
|
default RemoteTransactionPeer |
getPeerHandleForXa(URI location)
Get a handle for a specific peer for an XA operation.
|
boolean |
supportsScheme(String scheme)
Determine whether the provider supports the given URI scheme.
|
RemoteTransactionPeer getPeerHandle(URI location) throws SystemException
location - the peer locationnull if this provider does not support this locationSystemException - if handle acquisition has faileddefault RemoteTransactionPeer getPeerHandleForXa(URI location) throws XAException
getPeerHandle(URI) except
that an XAException is thrown in case of error instead of SystemException.location - the peer location (not null)null if this provider does not support this locationXAExceptionboolean supportsScheme(String scheme)
scheme - the URI scheme (not null)true if the scheme is supported, false otherwiseCopyright © 2017 JBoss by Red Hat. All rights reserved.