Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

weblogic.jws.jaxws.client.async
Class AsyncClientHandlerFeature

java.lang.Object
  extended by javax.xml.ws.WebServiceFeature
      extended by weblogic.jws.jaxws.WLSWebServiceFeature
          extended by weblogic.jws.jaxws.client.async.AsyncClientHandlerFeature
All Implemented Interfaces:
com.sun.xml.ws.api.client.ServiceCreationInterceptor

public class AsyncClientHandlerFeature
extends WLSWebServiceFeature
implements com.sun.xml.ws.api.client.ServiceCreationInterceptor

Designates an asynchronous handler instance that will be invoked upon the receipt of response messages. This model is in contrast to the call-specific asynchronous handler support, which allows per-request instances of handlers.


Field Summary
static String ID
          Constant value identifying the AsyncClientHandlerFeature
 
Fields inherited from class javax.xml.ws.WebServiceFeature
enabled
 
Constructor Summary
AsyncClientHandlerFeature(Object handler)
          Create an AsyncClientHandlerFeature.
 
Method Summary
 boolean equals(Object other)
           
 Object getHandler()
           
 String getID()
          Returns feature ID
 int hashCode()
           
 void postCreateDispatch(com.sun.xml.ws.developer.WSBindingProvider bp)
          A callback to notify that a Dispatch object 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.
 String toString()
           
 
Methods inherited from class weblogic.jws.jaxws.WLSWebServiceFeature
featuresAreEqual, getClientIdComponent, 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

ID

public static final String ID
Constant value identifying the AsyncClientHandlerFeature

See Also:
Constant Field Values
Constructor Detail

AsyncClientHandlerFeature

public AsyncClientHandlerFeature(Object handler)
Create an AsyncClientHandlerFeature. Asynchronous responses returned to the client proxy using this feature will be directed to this handler instance.

Parameters:
handler - Common handler instance
Method Detail

getID

public String getID()
Returns feature ID

Specified by:
getID in class WebServiceFeature

getHandler

public Object getHandler()

postCreateDispatch

public void postCreateDispatch(com.sun.xml.ws.developer.WSBindingProvider bp)
Description copied from interface: com.sun.xml.ws.api.client.ServiceCreationInterceptor
A callback to notify that a Dispatch object is created. The callback could set some properties on the BindingProvider.

Specified by:
postCreateDispatch in interface com.sun.xml.ws.api.client.ServiceCreationInterceptor
Parameters:
bp - BindingProvider of dispatch object

postCreateProxy

public void postCreateProxy(com.sun.xml.ws.developer.WSBindingProvider bp,
                            Class<?> serviceEndpointInterface)
Description copied from interface: com.sun.xml.ws.api.client.ServiceCreationInterceptor
A callback to notify the event of creation of proxy object for SEI endpoint. The callback could set some properties on the BindingProvider.

Specified by:
postCreateProxy in interface com.sun.xml.ws.api.client.ServiceCreationInterceptor
Parameters:
bp - created proxy instance
serviceEndpointInterface - SEI of the endpoint

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

Copyright 1996, 2011, 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
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06