public class AsyncClientTransportFeature extends WebServiceFeature implements com.sun.xml.ws.api.ImpliesWebServiceFeature
| Modifier and Type | Field and Description | 
|---|---|
static String | 
ID
Deprecated.  
Constant value identifying the AsyncClientTransportFeature 
 | 
enabled| Constructor and Description | 
|---|
AsyncClientTransportFeature()
Deprecated.  
Create an  
AsyncClientTransportFeature. | 
AsyncClientTransportFeature(Object context)
Deprecated.  
Create an  
AsyncClientTransportFeature that will select an
 asynchronous response endpoint address within the scope of a pre-existing
 context. | 
AsyncClientTransportFeature(Object context,
                           boolean useAsyncWithSyncInvoke)
Deprecated.  
Create an  
AsyncClientTransportFeature that will select an
 asynchronous response endpoint address within the scope of a pre-existing
 context. | 
AsyncClientTransportFeature(String address)
Deprecated.  
Create an  
AsyncClientTransportFeature that will publish an
 asynchronous response endpoint at the given address. | 
AsyncClientTransportFeature(String address,
                           boolean doPublish)
Deprecated.  
Create an  
AsyncClientTransportFeature. | 
AsyncClientTransportFeature(String address,
                           boolean doPublish,
                           boolean useAsyncWithSyncInvoke)
Deprecated.  
Create an  
AsyncClientTransportFeature. | 
AsyncClientTransportFeature(W3CEndpointReference replyTo)
Deprecated.  
Create an  
AsyncClientTransportFeature that will publish an
 asynchronous response endpoint at the address specified by the given
 endpoint reference. | 
AsyncClientTransportFeature(W3CEndpointReference replyTo,
                           boolean doPublish)
Deprecated.  
Create an  
AsyncClientTransportFeature. | 
AsyncClientTransportFeature(W3CEndpointReference replyTo,
                           boolean doPublish,
                           boolean useAsyncWithSyncInvoke)
Deprecated.  
Create an  
AsyncClientTransportFeature. | 
AsyncClientTransportFeature(W3CEndpointReference replyTo,
                           W3CEndpointReference faultTo)
Deprecated.  
Create an  
AsyncClientTransportFeature that will publish an
 asynchronous response endpoint at the address specified by the given
 replyTo endpoint reference. | 
AsyncClientTransportFeature(W3CEndpointReference replyTo,
                           W3CEndpointReference faultTo,
                           boolean doPublish)
Deprecated.  
Create an  
AsyncClientTransportFeature. | 
AsyncClientTransportFeature(W3CEndpointReference replyTo,
                           W3CEndpointReference faultTo,
                           boolean doPublish,
                           boolean useAsyncWithSyncInvoke)
Deprecated.  
Create an  
AsyncClientTransportFeature. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addAsyncEndpointListener(AsyncClientTransportFeature.AsyncEndpointListener listener)
Deprecated.  
  | 
void | 
dispose()
Deprecated.  
  | 
boolean | 
equals(Object other)
Deprecated.  
  | 
Endpoint | 
getEndpoint()
Deprecated.  
  | 
<T extends EndpointReference> | 
getEndpointReference(Class<T> clazz,
                    Element... referenceParameters)
Deprecated.  
Generates endpoint reference for response endpoint 
 | 
String | 
getID()
Deprecated.  
Returns feature ID 
 | 
int | 
getSslPort()
Deprecated.  
Get the port used for SSL or -1 if unset. 
 | 
int | 
hashCode()
Deprecated.  
  | 
void | 
implyFeatures(com.sun.xml.ws.api.WSFeatureList list)
Deprecated.  
  | 
boolean | 
isEndpointPublished()
Deprecated.  
  | 
boolean | 
isEndpointShared()
Deprecated.  
Determine if the endpoint returned by getEndpoint() is actually a 'shared'
 endpoint (that was registered/associated with a client identity). 
 | 
boolean | 
isUseAsyncWithSyncInvoke()
Deprecated.  
  | 
void | 
notifyEndpointListenersEndpointDisposed()
Deprecated.  
  | 
void | 
preRegisterForSharedEndpoint(ClientIdentityFeature clientIdFeature)
Deprecated.  
  | 
void | 
removeAsyncEndpointListener(AsyncClientTransportFeature.AsyncEndpointListener listener)
Deprecated.  
  | 
void | 
setSslPort(int sslPort)
Deprecated.  
Set the port used for SSL or -1 to disable SSL use on this feature. 
 | 
void | 
setUseAsyncWithSyncInvoke(boolean useAsyncWithSyncInvoke)
Deprecated.  
  | 
String | 
toString()
Deprecated.  
  | 
isEnabledpublic static final String ID
public AsyncClientTransportFeature()
AsyncClientTransportFeature. Client proxies
 created using this feature will publish and use an asynchronous response
 endpoint with an auto-selected address.public AsyncClientTransportFeature(Object context)
AsyncClientTransportFeature that will select an
 asynchronous response endpoint address within the scope of a pre-existing
 context. The context parameter may be an instance of
 javax.servlet.ServletContext. Other context types are implementation
 dependent.context - Existing context that will scope response endpointServletContextpublic AsyncClientTransportFeature(Object context, boolean useAsyncWithSyncInvoke)
AsyncClientTransportFeature that will select an
 asynchronous response endpoint address within the scope of a pre-existing
 context. The context parameter may be an instance of
 javax.servlet.ServletContext. Other context types are implementation
 dependent.context - Existing context that will scope response endpointuseAsyncWithSyncInvoke - Determines if async transport will be used with sync
            invocationServletContextpublic AsyncClientTransportFeature(String address)
AsyncClientTransportFeature that will publish an
 asynchronous response endpoint at the given address.
 address - Asynchronous response endpoint address. Note, you can
            use a port value of 0 to have the port automatically
            assigned to a free port for the current machine. The
            resulting feature instance will properly set the
            auto-assigned port into the address used for WS-Addressing
            headers, etc.public AsyncClientTransportFeature(W3CEndpointReference replyTo)
AsyncClientTransportFeature that will publish an
 asynchronous response endpoint at the address specified by the given
 endpoint reference. This endpoint reference will be used for outgoing
 ReplyTo headers.
 replyTo - Asynchronous response endpoint referencepublic AsyncClientTransportFeature(W3CEndpointReference replyTo, W3CEndpointReference faultTo)
AsyncClientTransportFeature that will publish an
 asynchronous response endpoint at the address specified by the given
 replyTo endpoint reference. The replyTo and faultTo endpoint references
 will be used for outgoing ReplyTo and FaultTo headers, respectively.
 replyTo - Asynchronous response endpoint referencefaultTo - FaultTo endpoint referencepublic AsyncClientTransportFeature(String address, boolean doPublish)
AsyncClientTransportFeature. If doPublish is true
 then an asynchronous response endpoint will be published at the given
 address. Otherwise, no endpoint will be published, but WSA headers will
 be added to outbound, non-oneway request messages.
 address - Asynchronous response endpoint address. Note, if doPublish=true
            and you are auto-publishing an endpoint, you can
            use a port value of 0 to have the port automatically
            assigned to a free port for the current machine. The
            resulting feature instance will properly set the
            auto-assigned port into the address used for WS-Addressing
            headers, etc.doPublish - Determines if response endpoint will be auto-publishedpublic AsyncClientTransportFeature(W3CEndpointReference replyTo, boolean doPublish)
AsyncClientTransportFeature. If doPublish is true
 then an asynchronous response endpoint will be published at the address
 specified by the replyTo endpoint reference. Otherwise, no endpoint will
 be published, but WSA headers will be added to outbound, non-oneway
 request messages.
 replyTo - Asynchronous response endpoint referencedoPublish - Determines if response endpoint will be auto-publishedpublic AsyncClientTransportFeature(W3CEndpointReference replyTo, W3CEndpointReference faultTo, boolean doPublish)
AsyncClientTransportFeature. If doPublish is true
 then an asynchronous response endpoint will be published at the address
 specified by the replyTo endpoint reference. Otherwise, no endpoint will
 be published, but WSA headers will be added to outbound, non-oneway
 request messages. The replyTo and faultTo endpoint references will be
 used for outgoing ReplyTo and FaultTo headers, respectively.
 replyTo - Asynchronous response endpoint referencefaultTo - FaultTo endpoint referencedoPublish - Determines if response endpoint will be auto-publishedpublic AsyncClientTransportFeature(String address, boolean doPublish, boolean useAsyncWithSyncInvoke)
AsyncClientTransportFeature. If doPublish is true
 then an asynchronous response endpoint will be published at the given
 address. Otherwise, no endpoint will be published, but WSA headers will
 be added to outbound, non-oneway request messages.
 address - Asynchronous response endpoint address. Note, if doPublish=true
            and you are auto-publishing an endpoint, you can
            use a port value of 0 to have the port automatically
            assigned to a free port for the current machine. The
            resulting feature instance will properly set the
            auto-assigned port into the address used for WS-Addressing
            headers, etc.doPublish - Determines if feature deploys response endpoint or if client
            application is responsibleuseAsyncWithSyncInvoke - Determines if async transport will be used with sync
            invocationpublic AsyncClientTransportFeature(W3CEndpointReference replyTo, boolean doPublish, boolean useAsyncWithSyncInvoke)
AsyncClientTransportFeature. If doPublish is true
 then an asynchronous response endpoint will be published at the address
 specified by the replyTo endpoint reference. Otherwise, no endpoint will
 be published, but WSA headers will be added to outbound, non-oneway
 request messages.
 replyTo - Asynchronous response endpoint referencedoPublish - Determines if response endpoint will be auto-publisheduseAsyncWithSyncInvoke - Determines if async transport will be used with sync
            invocationpublic AsyncClientTransportFeature(W3CEndpointReference replyTo, W3CEndpointReference faultTo, boolean doPublish, boolean useAsyncWithSyncInvoke)
AsyncClientTransportFeature. If doPublish is true
 then an asynchronous response endpoint will be published at the address
 specified by the replyTo endpoint reference. Otherwise, no endpoint will
 be published, but WSA headers will be added to outbound, non-oneway
 request messages. The replyTo and faultTo endpoint references will be
 used for outgoing ReplyTo and FaultTo headers, respectively.
 replyTo - Asynchronous response endpoint referencefaultTo - FaultTo endpoint referencedoPublish - Determines if response endpoint will be auto-publisheduseAsyncWithSyncInvoke - Determines if async transport will be used with sync
            invocationpublic void setSslPort(int sslPort)
public int getSslPort()
public void notifyEndpointListenersEndpointDisposed()
public void preRegisterForSharedEndpoint(ClientIdentityFeature clientIdFeature)
public void dispose()
public boolean isEndpointShared()
public Endpoint getEndpoint()
public <T extends EndpointReference> T getEndpointReference(Class<T> clazz, Element... referenceParameters)
clazz - Endpoint reference typereferenceParameters - Reference parameterspublic String getID()
getID in class WebServiceFeaturepublic boolean isUseAsyncWithSyncInvoke()
public void setUseAsyncWithSyncInvoke(boolean useAsyncWithSyncInvoke)
public void implyFeatures(com.sun.xml.ws.api.WSFeatureList list)
implyFeatures in interface com.sun.xml.ws.api.ImpliesWebServiceFeaturepublic boolean isEndpointPublished()
public void addAsyncEndpointListener(AsyncClientTransportFeature.AsyncEndpointListener listener)
public void removeAsyncEndpointListener(AsyncClientTransportFeature.AsyncEndpointListener listener)