com.sun.xml.ws.client.sei
Class MethodHandler
java.lang.Object
com.sun.xml.ws.client.sei.MethodHandler
- Direct Known Subclasses:
- SEIMethodHandler
public abstract class MethodHandler
- extends Object
Handles an invocation of a method.
Each instance of MethodHandler
has an implicit knowledge of
a particular method that it handles.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
owner
protected final SEIStub owner
MethodHandler
protected MethodHandler(SEIStub owner)
invoke
abstract Object invoke(Object proxy,
Object[] args)
throws javax.xml.ws.WebServiceException,
Throwable
- Performs the method invocation.
- 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.
Throwable
- some faults are reported in terms of checked exceptions.