public interface RemoteTransactionProvider extends TransactionProvider
| Modifier and Type | Method and Description |
|---|---|
RemoteTransactionPeer |
getPeerHandle(URI location,
SSLContext sslContext,
org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration)
Get a handle for a specific peer.
|
default RemoteTransactionPeer |
getPeerHandleForXa(URI location,
SSLContext sslContext,
org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration)
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, SSLContext sslContext, org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration) throws SystemException
location - the peer locationsslContext - the sticky SSL context to use (may be null)authenticationConfiguration - the sticky authentication configuration to use (may be null)null if this provider does not support this locationSystemException - if handle acquisition has faileddefault RemoteTransactionPeer getPeerHandleForXa(URI location, SSLContext sslContext, org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration) throws XAException
getPeerHandle(URI, SSLContext, AuthenticationConfiguration) except
that an XAException is thrown in case of error instead of SystemException.location - the peer location (not null)sslContext - the sticky SSL context to use (may be null)authenticationConfiguration - the sticky authentication configuration to use (may be 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 © 2019 JBoss by Red Hat. All rights reserved.