public class ProtobufRpcProxyBean<T> extends ProtobufRpcProxy<T> implements org.aopalliance.intercept.MethodInterceptor
ProtobufRpcProxy to process extra parameters transportation.| 构造器和说明 |
|---|
ProtobufRpcProxyBean(RpcClient rpcClient,
Class<T> interfaceClass) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected RpcDataPackage |
buildRequestDataPackage(RpcMethodInfo rpcMethodInfo,
Object[] args) |
org.springframework.remoting.support.RemoteInvocationFactory |
getRemoteInvocationFactory()
get the remoteInvocationFactory
|
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
protected void |
setProxyBean(Object proxyBean)
set proxyBean value to proxyBean
|
void |
setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory remoteInvocationFactory)
set remoteInvocationFactory value to remoteInvocationFactory
|
close, getServiceSignatures, invoke, isLookupStubOnStartup, proxy, setHost, setInterceptor, setLookupStubOnStartup, setPort, setServiceLocatorCallbackprotected void setProxyBean(Object proxyBean)
proxyBean - the proxyBean to setpublic org.springframework.remoting.support.RemoteInvocationFactory getRemoteInvocationFactory()
public void setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory remoteInvocationFactory)
remoteInvocationFactory - the remoteInvocationFactory to setprotected RpcDataPackage buildRequestDataPackage(RpcMethodInfo rpcMethodInfo, Object[] args) throws IOException
buildRequestDataPackage 在类中 ProtobufRpcProxy<T>IOExceptionCopyright © 2016 Baidu, Inc.. All rights reserved.