|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.baidu.jprotobuf.pbrpc.transport.RpcServerOptions
com.baidu.jprotobuf.pbrpc.spring.RpcServiceExporter
public class RpcServiceExporter
PBRPC exporter for standard PROTOBUF RPC implementation from jprotobuf-rpc-socket.
| 字段摘要 |
|---|
| 从类 com.baidu.jprotobuf.pbrpc.transport.RpcServerOptions 继承的字段 |
|---|
tcpNoDelay |
| 构造方法摘要 | |
|---|---|
RpcServiceExporter()
|
|
| 方法摘要 | |
|---|---|
void |
afterPropertiesSet()
|
void |
destroy()
|
protected String |
getHost()
get the host |
List<Object> |
getRegisterServices()
get the registerServices |
org.springframework.remoting.support.RemoteInvocationExecutor |
getRemoteInvocationExecutor()
Return the RemoteInvocationExecutor used by this exporter. |
protected int |
getServicePort()
get the servicePort |
void |
setHost(String host)
set host value to host |
void |
setRegisterServices(List<Object> registerServices)
set registerServices value to registerServices |
void |
setRegistryCenterService(RegistryCenterService registryCenterService)
set registryCenterService value to registryCenterService |
void |
setRemoteInvocationExecutor(org.springframework.remoting.support.RemoteInvocationExecutor remoteInvocationExecutor)
Set the RemoteInvocationExecutor to use for this exporter. |
void |
setRpcServiceRegistryBean(RpcServiceRegistryBean rpcServiceRegistryBean)
set rpcServiceRegistryBean value to rpcServiceRegistryBean |
void |
setServicePort(int servicePort)
set servicePort value to servicePort |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public RpcServiceExporter()
| 方法详细信息 |
|---|
public void setRegistryCenterService(RegistryCenterService registryCenterService)
registryCenterService - the registryCenterService to setpublic 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 void setRpcServiceRegistryBean(RpcServiceRegistryBean rpcServiceRegistryBean)
rpcServiceRegistryBean - the rpcServiceRegistryBean to setpublic List<Object> getRegisterServices()
public void setRegisterServices(List<Object> registerServices)
registerServices - the registerServices to setprotected int getServicePort()
public void setServicePort(int servicePort)
servicePort - the servicePort to setprotected String getHost()
public void setHost(String host)
host - the host to set
public void destroy()
throws Exception
org.springframework.beans.factory.DisposableBean 中的 destroyException
public void afterPropertiesSet()
throws Exception
org.springframework.beans.factory.InitializingBean 中的 afterPropertiesSetException
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||