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 Details

    • RemotingRemoteTransactionProvider

      public RemotingRemoteTransactionProvider()
      Construct a new instance.
  • Method Details

    • supportsScheme

      public boolean supportsScheme(String scheme)
      Description copied from interface: RemoteTransactionProvider
      Determine whether the provider supports the given URI scheme.
      Specified by:
      supportsScheme in interface RemoteTransactionProvider
      Parameters:
      scheme - the URI scheme (not null)
      Returns:
      true if the scheme is supported, false otherwise
    • getPeerHandle

      public RemoteTransactionPeer getPeerHandle(URI location, SSLContext sslContext, org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration) throws jakarta.transaction.SystemException
      Description copied from interface: RemoteTransactionProvider
      Get a handle for a specific peer.
      Specified by:
      getPeerHandle in interface RemoteTransactionProvider
      Parameters:
      location - the peer location
      sslContext - the sticky SSL context to use (may be null)
      authenticationConfiguration - the sticky authentication configuration to use (may be null)
      Returns:
      the handle, or null if this provider does not support this location
      Throws:
      jakarta.transaction.SystemException - if handle acquisition has failed