public abstract class MethodHandler extends Object
Each instance of MethodHandler
has an implicit knowledge of
a particular method that it handles.
Modifier and Type | Field and Description |
---|---|
protected Method |
method |
protected SEIStub |
owner |
Modifier | Constructor and Description |
---|---|
protected |
MethodHandler(SEIStub owner,
Method m) |
Modifier and Type | Method and Description |
---|---|
(package private) abstract Object |
invoke(Object proxy,
Object[] args)
Performs the method invocation.
|
abstract Object invoke(Object proxy, Object[] args) throws WebServiceException, Throwable
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.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.Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.