Class RemotingRemoteTransactionProvider
java.lang.Object
org.wildfly.transaction.client.provider.remoting.RemotingRemoteTransactionProvider
- All Implemented Interfaces:
RemoteTransactionProvider,TransactionProvider
@MetaInfServices
public final class RemotingRemoteTransactionProvider
extends Object
implements RemoteTransactionProvider
A JBoss Remoting based transaction provider.
- Author:
- David M. Lloyd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPeerHandle(URI location, SSLContext sslContext, org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration) Get a handle for a specific peer.booleansupportsScheme(String scheme) Determine whether the provider supports the given URI scheme.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.transaction.client.spi.RemoteTransactionProvider
getPeerHandleForXa
-
Constructor Details
-
RemotingRemoteTransactionProvider
public RemotingRemoteTransactionProvider()Construct a new instance.
-
-
Method Details
-
supportsScheme
Description copied from interface:RemoteTransactionProviderDetermine whether the provider supports the given URI scheme.- Specified by:
supportsSchemein interfaceRemoteTransactionProvider- Parameters:
scheme- the URI scheme (notnull)- Returns:
trueif the scheme is supported,falseotherwise
-
getPeerHandle
public RemoteTransactionPeer getPeerHandle(URI location, SSLContext sslContext, org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration) throws jakarta.transaction.SystemException Description copied from interface:RemoteTransactionProviderGet a handle for a specific peer.- Specified by:
getPeerHandlein interfaceRemoteTransactionProvider- Parameters:
location- the peer locationsslContext- the sticky SSL context to use (may benull)authenticationConfiguration- the sticky authentication configuration to use (may benull)- Returns:
- the handle, or
nullif this provider does not support this location - Throws:
jakarta.transaction.SystemException- if handle acquisition has failed
-