Class HttpRemoteTransactionPeer

  • All Implemented Interfaces:
    org.wildfly.transaction.client.spi.RemoteTransactionPeer

    public class HttpRemoteTransactionPeer
    extends java.lang.Object
    implements org.wildfly.transaction.client.spi.RemoteTransactionPeer
    Author:
    Stuart Douglas
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpRemoteTransactionPeer​(org.wildfly.httpclient.common.HttpTargetContext targetContext, javax.net.ssl.SSLContext sslContext, org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.wildfly.transaction.client.spi.SimpleTransactionControl begin​(int timeout)  
      org.wildfly.transaction.client.spi.SubordinateTransactionControl lookupXid​(javax.transaction.xa.Xid xid)  
      javax.transaction.xa.Xid[] recover​(int flag, java.lang.String parentName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.wildfly.transaction.client.spi.RemoteTransactionPeer

        getProviderInterface
    • Constructor Detail

      • HttpRemoteTransactionPeer

        public HttpRemoteTransactionPeer​(org.wildfly.httpclient.common.HttpTargetContext targetContext,
                                         javax.net.ssl.SSLContext sslContext,
                                         org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration)
    • Method Detail

      • lookupXid

        public org.wildfly.transaction.client.spi.SubordinateTransactionControl lookupXid​(javax.transaction.xa.Xid xid)
                                                                                   throws javax.transaction.xa.XAException
        Specified by:
        lookupXid in interface org.wildfly.transaction.client.spi.RemoteTransactionPeer
        Throws:
        javax.transaction.xa.XAException
      • recover

        public javax.transaction.xa.Xid[] recover​(int flag,
                                                  java.lang.String parentName)
                                           throws javax.transaction.xa.XAException
        Specified by:
        recover in interface org.wildfly.transaction.client.spi.RemoteTransactionPeer
        Throws:
        javax.transaction.xa.XAException
      • begin

        public org.wildfly.transaction.client.spi.SimpleTransactionControl begin​(int timeout)
                                                                          throws jakarta.transaction.SystemException
        Specified by:
        begin in interface org.wildfly.transaction.client.spi.RemoteTransactionPeer
        Throws:
        jakarta.transaction.SystemException