com.sun.xml.ws.tx.at.common.client
Class BaseProxyBuilder<T,B extends BaseProxyBuilder<T,B>>

java.lang.Object
  extended by 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.


Field Summary
protected  List<WebServiceFeature> features
           
protected  EndpointReference replyTo
           
protected  EndpointReference to
           
protected  WSATVersion<T> version
           
 
Constructor Summary
protected BaseProxyBuilder(WSATVersion<T> version)
           
 
Method Summary
 void feature(WebServiceFeature feature)
          Add feature to be enabled on the proxy built by this builder.
protected abstract  String getDefaultCallbackAddress()
          the replyto address for the corresponding endpoints.
protected  WebServiceFeature[] getEnabledFeatures()
           
 B replyTo(EndpointReference replyTo)
          specifiy the wsa:replyTo of the proxy built by this builder
 B to(EndpointReference to)
          specifiy the wsa:to and endpoint reference parameters of the proxy built by this builder
 B txIdForReference(String txId, String bqual)
          specify the transaction ID as the reference parameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

protected WSATVersion<T> version

to

protected EndpointReference to

replyTo

protected EndpointReference replyTo

features

protected List<WebServiceFeature> features
Constructor Detail

BaseProxyBuilder

protected BaseProxyBuilder(WSATVersion<T> version)
Method Detail

feature

public void feature(WebServiceFeature feature)
Add feature to be enabled on the proxy built by this builder.

Parameters:
feature - WebServiceFeature

to

public B to(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(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 WebServiceFeature[] getEnabledFeatures()

getDefaultCallbackAddress

protected abstract String getDefaultCallbackAddress()
the replyto address for the corresponding endpoints.

Returns:


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.