public class ProxyMethodHandler extends Object implements javassist.util.proxy.MethodHandler
| Constructor and Description |
|---|
ProxyMethodHandler(Object root,
Class<?> interfaceClass,
Object interfaceImpl)
Constructs a MethodHandler that serves as a Proxy for method calls on the specified root object and a
specified interface.
|
public ProxyMethodHandler(Object root, Class<?> interfaceClass, Object interfaceImpl) throws Exception
root - the root object whose methods are to be supported by this proxy.interfaceClass - interface class whose methods are to be supported by this proxy.interfaceImpl - implementation of interfaceClass. Calls that are satisfied by it's interface are delegated to this object.ExceptionCopyright © 2016. All rights reserved.