com.baidu.jprotobuf.pbrpc.spring
类 HaProtobufRpcProxyBean<T>
java.lang.Object
com.baidu.jprotobuf.pbrpc.client.ha.NamingServiceChangeListener
com.baidu.jprotobuf.pbrpc.client.ha.HaProtobufRpcProxy<T>
com.baidu.jprotobuf.pbrpc.spring.HaProtobufRpcProxyBean<T>
- 所有已实现的接口:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class HaProtobufRpcProxyBean<T>
- extends HaProtobufRpcProxy<T>
To enhance HaProtobufRpcProxy to process extra parameters transportation.
- 从以下版本开始:
- 2.17
- 作者:
- xiemalin
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HaProtobufRpcProxyBean
public HaProtobufRpcProxyBean(RpcClient rpcClient,
Class<T> interfaceClass,
NamingService namingService)
- 参数:
rpcClient - interfaceClass -
getRemoteInvocationFactory
public org.springframework.remoting.support.RemoteInvocationFactory getRemoteInvocationFactory()
- get the remoteInvocationFactory
- 返回:
- the remoteInvocationFactory
setRemoteInvocationFactory
public void setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory remoteInvocationFactory)
- set remoteInvocationFactory value to remoteInvocationFactory
- 参数:
remoteInvocationFactory - the remoteInvocationFactory to set
onBuildProtobufRpcProxy
protected ProtobufRpcProxy<T> onBuildProtobufRpcProxy(RpcClient rpcClient,
Class<T> interfaceClass)
- 覆盖:
- 类
HaProtobufRpcProxy<T> 中的 onBuildProtobufRpcProxy
invoke
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws Throwable
- 指定者:
- 接口
org.aopalliance.intercept.MethodInterceptor 中的 invoke - 覆盖:
- 类
HaProtobufRpcProxy<T> 中的 invoke
- 抛出:
Throwable
Copyright © 2015 Baidu, Inc.. All Rights Reserved.