public class RemoteExcuteInvokeRpcHandler extends Object implements com.baidu.jprotobuf.pbrpc.RpcHandler, com.baidu.jprotobuf.pbrpc.meta.RpcMetaAware
| 构造器和说明 |
|---|
RemoteExcuteInvokeRpcHandler(com.baidu.jprotobuf.pbrpc.server.AbstractAnnotationRpcHandler rpcHandler)
default constructor with
RpcHandler |
| 限定符和类型 | 方法和说明 |
|---|---|
com.baidu.jprotobuf.pbrpc.server.RpcData |
doHandle(com.baidu.jprotobuf.pbrpc.server.RpcData data) |
String |
getDescription() |
Class<?> |
getInputClass() |
String |
getInputMetaProto() |
String |
getMethodName() |
String |
getMethodSignature() |
Class<?> |
getOutputClass() |
String |
getOutputMetaProto() |
org.springframework.remoting.support.RemoteInvocationExecutor |
getRemoteInvocationExecutor()
Return the RemoteInvocationExecutor used by this exporter.
|
Object |
getService() |
String |
getServiceName() |
void |
setRemoteInvocationExecutor(org.springframework.remoting.support.RemoteInvocationExecutor remoteInvocationExecutor)
Set the RemoteInvocationExecutor to use for this exporter.
|
public RemoteExcuteInvokeRpcHandler(com.baidu.jprotobuf.pbrpc.server.AbstractAnnotationRpcHandler rpcHandler)
RpcHandlerpublic void setRemoteInvocationExecutor(org.springframework.remoting.support.RemoteInvocationExecutor remoteInvocationExecutor)
A custom invocation executor can extract further context information from the invocation, for example user credentials.
public org.springframework.remoting.support.RemoteInvocationExecutor getRemoteInvocationExecutor()
public com.baidu.jprotobuf.pbrpc.server.RpcData doHandle(com.baidu.jprotobuf.pbrpc.server.RpcData data)
throws Exception
doHandle 在接口中 com.baidu.jprotobuf.pbrpc.RpcHandlerExceptionpublic String getServiceName()
getServiceName 在接口中 com.baidu.jprotobuf.pbrpc.RpcHandlerpublic String getMethodName()
getMethodName 在接口中 com.baidu.jprotobuf.pbrpc.RpcHandlerpublic Object getService()
getService 在接口中 com.baidu.jprotobuf.pbrpc.RpcHandlerpublic String getInputMetaProto()
getInputMetaProto 在接口中 com.baidu.jprotobuf.pbrpc.meta.RpcMetaAwarepublic String getOutputMetaProto()
getOutputMetaProto 在接口中 com.baidu.jprotobuf.pbrpc.meta.RpcMetaAwarepublic Class<?> getInputClass()
getInputClass 在接口中 com.baidu.jprotobuf.pbrpc.RpcHandlerpublic Class<?> getOutputClass()
getOutputClass 在接口中 com.baidu.jprotobuf.pbrpc.RpcHandlerpublic String getDescription()
getDescription 在接口中 com.baidu.jprotobuf.pbrpc.RpcHandlerpublic String getMethodSignature()
getMethodSignature 在接口中 com.baidu.jprotobuf.pbrpc.RpcHandlerCopyright © 2015 Baidu, Inc.. All rights reserved.