Class BaseProxyBuilder<T,B extends BaseProxyBuilder<T,B>>
- java.lang.Object
-
- com.sun.xml.ws.tx.at.common.client.BaseProxyBuilder<T,B>
-
- Direct Known Subclasses:
CoordinatorProxyBuilder,ParticipantProxyBuilder
public abstract class BaseProxyBuilder<T,B extends BaseProxyBuilder<T,B>> extends Object
This is the base class for building client proxy for participant and coordinator.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseProxyBuilder(WSATVersion<T> version)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidfeature(jakarta.xml.ws.WebServiceFeature feature)Add feature to be enabled on the proxy built by this builder.protected abstract StringgetDefaultCallbackAddress()the replyto address for the corresponding endpoints.protected jakarta.xml.ws.WebServiceFeature[]getEnabledFeatures()BreplyTo(jakarta.xml.ws.EndpointReference replyTo)specifiy the wsa:replyTo of the proxy built by this builderBto(jakarta.xml.ws.EndpointReference to)specifiy the wsa:to and endpoint reference parameters of the proxy built by this builderBtxIdForReference(String txId, String bqual)specify the transaction ID as the reference parameters
-
-
-
Field Detail
-
version
protected WSATVersion<T> version
-
to
protected jakarta.xml.ws.EndpointReference to
-
replyTo
protected jakarta.xml.ws.EndpointReference replyTo
-
features
protected List<jakarta.xml.ws.WebServiceFeature> features
-
-
Constructor Detail
-
BaseProxyBuilder
protected BaseProxyBuilder(WSATVersion<T> version)
-
-
Method Detail
-
feature
public void feature(jakarta.xml.ws.WebServiceFeature feature)
Add feature to be enabled on the proxy built by this builder.- Parameters:
feature- WebServiceFeature
-
to
public B to(jakarta.xml.ws.EndpointReference to)
specifiy the wsa:to and endpoint reference parameters of the proxy built by this builder- Parameters:
to- EndpointReference- Returns:
-
replyTo
public B replyTo(jakarta.xml.ws.EndpointReference replyTo)
specifiy the wsa:replyTo of the proxy built by this builder- Parameters:
replyTo-- Returns:
-
txIdForReference
public B txIdForReference(String txId, String bqual)
specify the transaction ID as the reference parameters- Parameters:
txId-bqual-- Returns:
-
getEnabledFeatures
protected jakarta.xml.ws.WebServiceFeature[] getEnabledFeatures()
-
getDefaultCallbackAddress
protected abstract String getDefaultCallbackAddress()
the replyto address for the corresponding endpoints.- Returns:
-
-