Package oracle.tmm.jta
Class TrmXAClientBuilder
java.lang.Object
oracle.tmm.jta.TrmXAClientBuilder
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic javax.ws.rs.client.ClientBuilder
Create a new ClientBuilderstatic javax.ws.rs.client.Client
Create a new jax-rs Clientstatic javax.ws.rs.client.Client
newClient
(javax.ws.rs.core.Configuration configuration) Create a new jax-rs Client
-
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
-