|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.xml.ws.WebServiceFeature
weblogic.jws.jaxws.client.async.AsyncClientTransportFeature
public class AsyncClientTransportFeature
Designates a client that accesses the service through WS-Addressing and asynchronous transport. Use of this feature will by default publish a response endpoint to receive inbound response messages and correlate request and response exchanges. Clients may create multiple ports or Dispatch instances from the same Service instance that share the same response endpoint by specifying the same AsyncClientTransportFeature instance; however, at most one of the port instances may specify AsyncClientHandlerFeature.
| Nested Class Summary | |
|---|---|
static interface |
AsyncClientTransportFeature.AsyncEndpointListener
Deprecated. |
| Field Summary | |
|---|---|
static String |
ID
Deprecated. Constant value identifying the AsyncClientTransportFeature |
| Fields inherited from class javax.xml.ws.WebServiceFeature |
|---|
enabled |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | ||
|---|---|---|
void |
addAsyncEndpointListener(AsyncClientTransportFeature.AsyncEndpointListener listener)
Deprecated. |
|
void |
dispose()
Deprecated. |
|
boolean |
equals(Object other)
Deprecated. |
|
Endpoint |
getEndpoint()
Deprecated. |
|
|
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. |
|
| Methods inherited from class javax.xml.ws.WebServiceFeature |
|---|
isEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String ID
| Constructor Detail |
|---|
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 endpointServletContext
public 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 reference
public 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 reference
public 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-published
public 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-published
public 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-published
public 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
invocation
public 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
invocation
public 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
invocation| Method Detail |
|---|
public 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 parameters
public 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)
public int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Objectpublic String toString()
toString in class Object
|
Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||