com.baidu.jprotobuf.pbrpc.spring
类 RemoteExcuteInvokeRpcHandler

java.lang.Object
  继承者 com.baidu.jprotobuf.pbrpc.spring.RemoteExcuteInvokeRpcHandler
所有已实现的接口:
RpcMetaAware, RpcHandler

public class RemoteExcuteInvokeRpcHandler
extends Object
implements RpcHandler, RpcMetaAware

RemoteExcuteInvokeRpcHandler

从以下版本开始:
2.17
作者:
xiemalin

构造方法摘要
RemoteExcuteInvokeRpcHandler(AbstractAnnotationRpcHandler rpcHandler)
          default constructor with RpcHandler
 
方法摘要
 RpcData doHandle(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.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

RemoteExcuteInvokeRpcHandler

public RemoteExcuteInvokeRpcHandler(AbstractAnnotationRpcHandler rpcHandler)
default constructor with RpcHandler

方法详细信息

setRemoteInvocationExecutor

public void setRemoteInvocationExecutor(org.springframework.remoting.support.RemoteInvocationExecutor remoteInvocationExecutor)
Set the RemoteInvocationExecutor to use for this exporter. Default is a DefaultRemoteInvocationExecutor.

A custom invocation executor can extract further context information from the invocation, for example user credentials.


getRemoteInvocationExecutor

public org.springframework.remoting.support.RemoteInvocationExecutor getRemoteInvocationExecutor()
Return the RemoteInvocationExecutor used by this exporter.


doHandle

public RpcData doHandle(RpcData data)
                 throws Exception
指定者:
接口 RpcHandler 中的 doHandle
抛出:
Exception

getServiceName

public String getServiceName()
指定者:
接口 RpcHandler 中的 getServiceName

getMethodName

public String getMethodName()
指定者:
接口 RpcHandler 中的 getMethodName

getService

public Object getService()
指定者:
接口 RpcHandler 中的 getService

getInputMetaProto

public String getInputMetaProto()
指定者:
接口 RpcMetaAware 中的 getInputMetaProto

getOutputMetaProto

public String getOutputMetaProto()
指定者:
接口 RpcMetaAware 中的 getOutputMetaProto

getInputClass

public Class<?> getInputClass()
指定者:
接口 RpcHandler 中的 getInputClass

getOutputClass

public Class<?> getOutputClass()
指定者:
接口 RpcHandler 中的 getOutputClass

getDescription

public String getDescription()
指定者:
接口 RpcHandler 中的 getDescription

getMethodSignature

public String getMethodSignature()
指定者:
接口 RpcHandler 中的 getMethodSignature


Copyright © 2015 Baidu, Inc.. All Rights Reserved.