public class HaProtobufRpcProxyBean<T> extends HaProtobufRpcProxy<T>
HaProtobufRpcProxy to process extra parameters transportation.LOGGER| 构造器和说明 |
|---|
HaProtobufRpcProxyBean(RpcClient rpcClient,
java.lang.Class<T> interfaceClass,
NamingService namingService) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.remoting.support.RemoteInvocationFactory |
getRemoteInvocationFactory()
get the remoteInvocationFactory
|
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
protected ProtobufRpcProxy<T> |
onBuildProtobufRpcProxy(RpcClient rpcClient,
java.lang.Class<T> interfaceClass) |
void |
setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory remoteInvocationFactory)
set remoteInvocationFactory value to remoteInvocationFactory
|
close, getNamingService, isLookupStubOnStartup, proxy, reInit, setLookupStubOnStartupsetDelay, setPeriod, startUpdateNamingServiceTaskpublic HaProtobufRpcProxyBean(RpcClient rpcClient, java.lang.Class<T> interfaceClass, NamingService namingService)
rpcClient - interfaceClass - public org.springframework.remoting.support.RemoteInvocationFactory getRemoteInvocationFactory()
public void setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory remoteInvocationFactory)
remoteInvocationFactory - the remoteInvocationFactory to setprotected ProtobufRpcProxy<T> onBuildProtobufRpcProxy(RpcClient rpcClient, java.lang.Class<T> interfaceClass)
onBuildProtobufRpcProxy 在类中 HaProtobufRpcProxy<T>public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws java.lang.Throwable
invoke 在接口中 org.aopalliance.intercept.MethodInterceptorinvoke 在类中 HaProtobufRpcProxy<T>java.lang.ThrowableCopyright © 2015 Baidu, Inc.. All Rights Reserved.