public class ProtobufRpcProxyBean<T>
extends com.baidu.jprotobuf.pbrpc.client.ProtobufRpcProxy<T>
implements org.aopalliance.intercept.MethodInterceptor
ProtobufRpcProxy to process extra parameters transportation.| 构造器和说明 |
|---|
ProtobufRpcProxyBean(com.baidu.jprotobuf.pbrpc.transport.RpcClient rpcClient,
Class<T> interfaceClass) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected com.baidu.jprotobuf.pbrpc.data.RpcDataPackage |
buildRequestDataPackage(com.baidu.jprotobuf.pbrpc.client.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
|
protected 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 com.baidu.jprotobuf.pbrpc.data.RpcDataPackage buildRequestDataPackage(com.baidu.jprotobuf.pbrpc.client.RpcMethodInfo rpcMethodInfo,
Object[] args)
throws IOException
buildRequestDataPackage 在类中 com.baidu.jprotobuf.pbrpc.client.ProtobufRpcProxy<T>IOExceptionCopyright © 2015 Baidu, Inc.. All rights reserved.