com.baidu.jprotobuf.pbrpc.spring
类 RpcServiceRegistryBean

java.lang.Object
  继承者 com.baidu.jprotobuf.pbrpc.server.RpcServiceRegistry
      继承者 com.baidu.jprotobuf.pbrpc.spring.RpcServiceRegistryBean

public class RpcServiceRegistryBean
extends RpcServiceRegistry

Supports RemoteInvocationExecutor parse

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

字段摘要
 
从类 com.baidu.jprotobuf.pbrpc.server.RpcServiceRegistry 继承的字段
LOGGER
 
构造方法摘要
RpcServiceRegistryBean()
           
 
方法摘要
protected  RpcHandler doCreateRpcHandler(java.lang.reflect.Method method, java.lang.Object service, ProtobufRPCService protobufPRCService)
           
 org.springframework.remoting.support.RemoteInvocationExecutor getRemoteInvocationExecutor()
          Return the RemoteInvocationExecutor used by this exporter.
 void setRemoteInvocationExecutor(org.springframework.remoting.support.RemoteInvocationExecutor remoteInvocationExecutor)
          Set the RemoteInvocationExecutor to use for this exporter.
 
从类 com.baidu.jprotobuf.pbrpc.server.RpcServiceRegistry 继承的方法
doRegisterMetaService, getServices, lookupService, registerService, registerService, setDummyOverride, unRegisterAll
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

RpcServiceRegistryBean

public RpcServiceRegistryBean()
方法详细信息

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.


doCreateRpcHandler

protected RpcHandler doCreateRpcHandler(java.lang.reflect.Method method,
                                        java.lang.Object service,
                                        ProtobufRPCService protobufPRCService)
覆盖:
类 RpcServiceRegistry 中的 doCreateRpcHandler


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