| 
 | Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-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.WLSWebServiceFeature
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 | 
| static interface | AsyncClientTransportFeature.AsyncResponseEndpointRegistry | 
| Field Summary | |
|---|---|
| static String | IDConstant value identifying the AsyncClientTransportFeature | 
| Fields inherited from class javax.xml.ws.WebServiceFeature | 
|---|
| enabled | 
| Constructor Summary | |
|---|---|
| AsyncClientTransportFeature()Create an AsyncClientTransportFeature. | |
| AsyncClientTransportFeature(Object context)Create an AsyncClientTransportFeaturethat will select an
 asynchronous response endpoint address within the scope of a pre-existing
 context. | |
| AsyncClientTransportFeature(Object context,
                            boolean useAsyncWithSyncInvoke)Create an AsyncClientTransportFeaturethat will select an
 asynchronous response endpoint address within the scope of a pre-existing
 context. | |
| AsyncClientTransportFeature(String address)Create an AsyncClientTransportFeaturethat will publish an
 asynchronous response endpoint at the given address. | |
| AsyncClientTransportFeature(String address,
                            boolean doPublish)Create an AsyncClientTransportFeature. | |
| AsyncClientTransportFeature(String address,
                            boolean doPublish,
                            boolean useAsyncWithSyncInvoke)Create an AsyncClientTransportFeature. | |
| AsyncClientTransportFeature(W3CEndpointReference replyTo)Create an AsyncClientTransportFeaturethat will publish an
 asynchronous response endpoint at the address specified by the given
 endpoint reference. | |
| AsyncClientTransportFeature(W3CEndpointReference replyTo,
                            boolean doPublish)Create an AsyncClientTransportFeature. | |
| AsyncClientTransportFeature(W3CEndpointReference replyTo,
                            boolean doPublish,
                            boolean useAsyncWithSyncInvoke)Create an AsyncClientTransportFeature. | |
| AsyncClientTransportFeature(W3CEndpointReference replyTo,
                            W3CEndpointReference faultTo)Create an AsyncClientTransportFeaturethat will publish an
 asynchronous response endpoint at the address specified by the given
 replyTo endpoint reference. | |
| AsyncClientTransportFeature(W3CEndpointReference replyTo,
                            W3CEndpointReference faultTo,
                            boolean doPublish)Create an AsyncClientTransportFeature. | |
| AsyncClientTransportFeature(W3CEndpointReference replyTo,
                            W3CEndpointReference faultTo,
                            boolean doPublish,
                            boolean useAsyncWithSyncInvoke)Create an AsyncClientTransportFeature. | |
| Method Summary | ||
|---|---|---|
|  void | addAsyncEndpointListener(AsyncClientTransportFeature.AsyncEndpointListener listener) | |
|  void | dispose() | |
|  boolean | equals(Object other) | |
|  String | getClientIdComponent() | |
|  Endpoint | getEndpoint() | |
| 
 | getEndpointReference(Class<T> clazz,
                     Element... referenceParameters)Generates endpoint reference for response endpoint | |
|  String | getID()Returns feature ID | |
|  int | getSslPort()Get the port used for SSL or -1 if unset. | |
|  int | hashCode() | |
|  void | implyFeatures(com.sun.xml.ws.api.WSFeatureList list) | |
|  boolean | isEndpointPublished() | |
|  boolean | isEndpointShared()Determine if the endpoint returned by getEndpoint() is actually a 'shared' endpoint (that was registered/associated with a client identity). | |
|  boolean | isUseAsyncWithSyncInvoke() | |
|  void | notifyEndpointListenersEndpointDisposed() | |
|  void | postCreateDispatch(com.sun.xml.ws.developer.WSBindingProvider bp)A callback to notify that a Dispatchobject is created. | |
|  void | postCreateProxy(com.sun.xml.ws.developer.WSBindingProvider bp,
                Class<?> serviceEndpointInterface)A callback to notify the event of creation of proxy object for SEI endpoint. | |
|  void | preRegisterForSharedEndpoint(ClientIdentityFeature clientIdFeature) | |
|  void | removeAsyncEndpointListener(AsyncClientTransportFeature.AsyncEndpointListener listener) | |
| static void | setAsyncResponseEndpointRegistry(AsyncClientTransportFeature.AsyncResponseEndpointRegistry registry) | |
|  void | setSslPort(int sslPort)Set the port used for SSL or -1 to disable SSL use on this feature. | |
|  void | setUseAsyncWithSyncInvoke(boolean useAsyncWithSyncInvoke) | |
|  String | toString() | |
| Methods inherited from class weblogic.jws.jaxws.WLSWebServiceFeature | 
|---|
| featuresAreEqual, isKnownTubelineImpactingFeature, isTubelineImpact, setTubelineImpact | 
| 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 addresspublic 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 addressdoPublish - 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 addressdoPublish - 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 static void setAsyncResponseEndpointRegistry(AsyncClientTransportFeature.AsyncResponseEndpointRegistry registry)
public void postCreateDispatch(com.sun.xml.ws.developer.WSBindingProvider bp)
com.oracle.webservices.impl.internalapi.client.ServiceCreationInterceptorDispatch object is created. The callback
 could set some properties on the BindingProvider.
postCreateDispatch in interface com.oracle.webservices.impl.internalapi.client.ServiceCreationInterceptorbp - BindingProvider of dispatch object
public void postCreateProxy(com.sun.xml.ws.developer.WSBindingProvider bp,
                            Class<?> serviceEndpointInterface)
com.oracle.webservices.impl.internalapi.client.ServiceCreationInterceptorBindingProvider.
postCreateProxy in interface com.oracle.webservices.impl.internalapi.client.ServiceCreationInterceptorbp - created proxy instanceserviceEndpointInterface - SEI of the endpointpublic 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 getClientIdComponent()
getClientIdComponent in class WLSWebServiceFeaturepublic String toString()
toString in class Object| 
 | Copyright 1996, 2013, 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.2) Part Number E27170-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||