com.sun.xml.ws.client.sei
Class CallbackMethodHandler
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.CallbackMethodHandler
final class CallbackMethodHandler
- extends AsyncMethodHandler
MethodHandler
that uses AsyncHandler
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CallbackMethodHandler
CallbackMethodHandler(SEIStub owner,
JavaMethodImpl jm,
JavaMethodImpl core,
int handlerPos)
invoke
Future<?> 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.