public class PrivateInvoker extends SimpleInvoker
Constructor and Description |
---|
PrivateInvoker(java.lang.Object target)
Construct a PrivateInvoker.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Invocation of a method of the proxied object.
|
getTarget
public PrivateInvoker(java.lang.Object target)
target
- the invocation target.public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
Invoker
invoke
in interface Invoker
invoke
in class SimpleInvoker
proxy
- the proxy instance.method
- the method to invoke.args
- the arguments of the mothod.java.lang.Throwable
- if the invoked method has thrown.