public class ProtobufRpcProxyBean<T> extends ProtobufRpcProxy<T> implements org.aopalliance.intercept.MethodInterceptor
ProtobufRpcProxy to process extra parameters transportation.| 构造器和说明 |
|---|
ProtobufRpcProxyBean(RpcClient rpcClient,
java.lang.Class<T> interfaceClass) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected RpcDataPackage |
buildRequestDataPackage(RpcMethodInfo rpcMethodInfo,
java.lang.Object[] args) |
org.springframework.remoting.support.RemoteInvocationFactory |
getRemoteInvocationFactory()
get the remoteInvocationFactory
|
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
protected void |
setProxyBean(java.lang.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, setLookupStubOnStartup, setPort, setServiceLocatorCallbackprotected void setProxyBean(java.lang.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, java.lang.Object[] args) throws java.io.IOException
buildRequestDataPackage 在类中 ProtobufRpcProxy<T>java.io.IOExceptionpublic java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws java.lang.Throwable
invoke 在接口中 org.aopalliance.intercept.MethodInterceptorjava.lang.ThrowableCopyright © 2015 Baidu, Inc.. All Rights Reserved.