com.sun.xml.ws.client.sei
Class PollingMethodHandler

java.lang.Object
  extended by com.sun.xml.ws.client.sei.MethodHandler
      extended by com.sun.xml.ws.client.sei.SEIMethodHandler
          extended by com.sun.xml.ws.client.sei.AsyncMethodHandler
              extended by com.sun.xml.ws.client.sei.PollingMethodHandler

final class PollingMethodHandler
extends AsyncMethodHandler

MethodHandler that handles asynchronous invocations through Response.


Field Summary
 
Fields inherited from class com.sun.xml.ws.client.sei.SEIMethodHandler
checkedExceptions, isOneWay, javaMethod, soapAction
 
Fields inherited from class com.sun.xml.ws.client.sei.MethodHandler
owner
 
Constructor Summary
PollingMethodHandler(SEIStub owner, JavaMethodImpl jm, JavaMethodImpl core)
           
 
Method Summary
(package private)  javax.xml.ws.Response<?> invoke(Object proxy, Object[] args)
          Performs the method invocation.
 
Methods inherited from class com.sun.xml.ws.client.sei.AsyncMethodHandler
doInvoke, getValueGetterFactory
 
Methods inherited from class com.sun.xml.ws.client.sei.SEIMethodHandler
buildResponseBuilder, createRequestMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollingMethodHandler

PollingMethodHandler(SEIStub owner,
                     JavaMethodImpl jm,
                     JavaMethodImpl core)
Method Detail

invoke

javax.xml.ws.Response<?> invoke(Object proxy,
                                Object[] args)
                          throws javax.xml.ws.WebServiceException
Description copied from class: MethodHandler
Performs the method invocation.

Specified by:
invoke in class MethodHandler
Parameters:
proxy - The proxy object exposed to the user. Must not be null.
args - The method invocation arguments. To handle asynchroonus method invocations without array reallocation, this aray is allowed to be longer than the actual number of arguments to the method. Additional array space should be simply ignored.
Returns:
a return value from the method invocation. may be null.
Throws:
javax.xml.ws.WebServiceException - If used on the client side, a WebServiceException signals an error during the service invocation.