Class TrmXAClientBuilder

java.lang.Object
oracle.tmm.jta.TrmXAClientBuilder

public class TrmXAClientBuilder extends Object
TrmXAClientBuilder - Builds a jax-rs Client for invoking XA participant microservice. The client has the request filter registered for addition of XA transaction header. The XA transaction header will be used by the jax-rs filter on the XA participant for XA related operation.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static javax.ws.rs.client.ClientBuilder
    Create a new ClientBuilder
    static javax.ws.rs.client.Client
    Create a new jax-rs Client
    static javax.ws.rs.client.Client
    newClient(javax.ws.rs.core.Configuration configuration)
    Create a new jax-rs Client

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TrmXAClientBuilder

      public TrmXAClientBuilder()
  • Method Details

    • newBuilder

      public static javax.ws.rs.client.ClientBuilder newBuilder()
      Create a new ClientBuilder
      Returns:
      ClientBuilder which has the required TRM request filter registered
    • newClient

      public static javax.ws.rs.client.Client newClient()
      Create a new jax-rs Client
      Returns:
      Client which has the required TRM request filter registered
    • newClient

      public static javax.ws.rs.client.Client newClient(javax.ws.rs.core.Configuration configuration)
      Create a new jax-rs Client
      Parameters:
      configuration - Configuration jax-rs Configuration
      Returns:
      Client which has the required TRM request filter registered