public interface RemoteTransactionProvider
| 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.
|
default <T> T |
getProviderInterface(Class<T> clazz)
Get the provider interface with the given type for this peer.
|
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 otherwisedefault <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.