T - public class RefererInvocationHandler<T> extends AbstractRefererHandler<T> implements InvocationHandler
clusters, clz, interfaceName, switcherService| Constructor and Description |
|---|
RefererInvocationHandler(Class<T> clz,
List<Cluster<T>> clusters) |
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
boolean |
isLocalMethod(Method method)
tostring,equals,hashCode,finalize等接口未声明的方法不进行远程调用
|
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowablepublic boolean isLocalMethod(Method method)
method - Copyright © 2020. All rights reserved.