public class RpcServiceExporter extends RpcServerOptions implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
EPOLL_EVENT_GROUP, POLL_EVENT_GROUP, tcpNoDelay| 构造器和说明 |
|---|
RpcServiceExporter() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
protected String |
getHost()
Gets the host.
|
List<Object> |
getRegisterServices()
Gets the register services.
|
org.springframework.remoting.support.RemoteInvocationExecutor |
getRemoteInvocationExecutor()
Gets the remote invocation executor.
|
protected int |
getServicePort()
Gets the service port.
|
void |
setHost(String host)
Sets the host.
|
void |
setInterceptor(InvokerInterceptor interceptor)
Sets the interceptor.
|
void |
setRegisterServices(List<Object> registerServices)
Sets the register services.
|
void |
setRegistryCenterService(RegistryCenterService registryCenterService)
Sets the registry center service.
|
void |
setRemoteInvocationExecutor(org.springframework.remoting.support.RemoteInvocationExecutor remoteInvocationExecutor)
Sets the remote invocation executor.
|
void |
setRpcServiceRegistryBean(RpcServiceRegistryBean rpcServiceRegistryBean)
Sets the rpc service registry bean.
|
void |
setServicePort(int servicePort)
Sets the service port.
|
copyFrom, getAcceptorThreads, getBacklog, getByteOrder, getChunkPackageTimeout, getChunkSize, getConnectTimeout, getHttpServerPort, getIoEventGroupType, getKeepAliveTime, getMaxSize, getReaderIdleTime, getReceiveBufferSize, getSendBufferSize, getSoLinger, getTaskTheads, getWorkThreads, getWriterIdleTime, isKeepAlive, isTcpNoDelay, setAcceptorThreads, setBacklog, setByteOrder, setChunkPackageTimeout, setChunkSize, setConnectTimeout, setHttpServerPort, setIoEventGroupType, setKeepAlive, setKeepAliveTime, setMaxSize, setReaderIdleTime, setReceiveBufferSize, setSendBufferSize, setSoLinger, setTaskTheads, setTcpNoDelay, setWorkThreads, setWriterIdleTime, toStringpublic void setInterceptor(InvokerInterceptor interceptor)
interceptor - the new interceptorpublic void setRegistryCenterService(RegistryCenterService registryCenterService)
registryCenterService - the new registry center servicepublic void setRemoteInvocationExecutor(org.springframework.remoting.support.RemoteInvocationExecutor remoteInvocationExecutor)
remoteInvocationExecutor - the new remote invocation executorpublic org.springframework.remoting.support.RemoteInvocationExecutor getRemoteInvocationExecutor()
public void setRpcServiceRegistryBean(RpcServiceRegistryBean rpcServiceRegistryBean)
rpcServiceRegistryBean - the new rpc service registry beanpublic List<Object> getRegisterServices()
public void setRegisterServices(List<Object> registerServices)
registerServices - the new register servicesprotected int getServicePort()
public void setServicePort(int servicePort)
servicePort - the new service portprotected String getHost()
public void setHost(String host)
host - the new hostpublic void destroy()
throws Exception
destroy 在接口中 org.springframework.beans.factory.DisposableBeanExceptionCopyright © 2016 Baidu, Inc.. All rights reserved.