com.sun.xml.ws.client.sei
Class PollingMethodHandler
java.lang.Object
com.sun.xml.ws.client.sei.MethodHandler
com.sun.xml.ws.client.sei.SEIMethodHandler
com.sun.xml.ws.client.sei.AsyncMethodHandler
com.sun.xml.ws.client.sei.PollingMethodHandler
final class PollingMethodHandler
- extends AsyncMethodHandler
MethodHandler
that handles asynchronous invocations through Response
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollingMethodHandler
PollingMethodHandler(SEIStub owner,
JavaMethodImpl jm,
JavaMethodImpl core)
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.