public interface Invoker extends Serializable
ProxyFactory. An implementation realizes an invocation handler for the proxy. So it has the same
purpose as InvocationHandler.| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Object proxy,
Method method,
Object[] args)
Invocation of a method of the proxied object.
|
Object invoke(Object proxy, Method method, Object[] args) throws Throwable
proxy - the proxy instance.method - the method to invoke.args - the arguments of the method.Throwable - if the invoked method has thrown.Copyright © 2005–2018 Codehaus. All rights reserved.