public class RpcServiceExporter extends RpcServerOptions implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
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
|
copyFrom, getAcceptorThreads, getBacklog, getByteOrder, getChunkPackageTimeout, getChunkSize, getConnectTimeout, getHttpServerPort, getKeepAliveTime, getReaderIdleTime, getReceiveBufferSize, getSendBufferSize, getSoLinger, getTaskTheads, getWorkThreads, getWriterIdleTime, isKeepAlive, isTcpNoDelay, setAcceptorThreads, setBacklog, setByteOrder, setChunkPackageTimeout, setChunkSize, setConnectTimeout, setHttpServerPort, setKeepAlive, setKeepAliveTime, setReaderIdleTime, setReceiveBufferSize, setSendBufferSize, setSoLinger, setTaskTheads, setTcpNoDelay, setWorkThreads, setWriterIdleTime, toStringpublic 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 setpublic void destroy()
throws Exception
destroy 在接口中 org.springframework.beans.factory.DisposableBeanExceptionCopyright © 2015 Baidu, Inc.. All rights reserved.