Class RemotingRemoteTransactionProvider

    • Constructor Detail

      • RemotingRemoteTransactionProvider

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

      • 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 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:
        SystemException - if handle acquisition has failed