com.sun.xml.ws.client.sei
Class CallbackMethodHandler
java.lang.Object
com.sun.xml.ws.client.sei.MethodHandler
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,
Method m,
int handlerPos)
invoke
Future<?> invoke(Object proxy,
Object[] args)
throws 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:
WebServiceException
- If used on the client side, a WebServiceException
signals an error
during the service invocation.
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.