public class RpcProxyFactoryBean extends RpcClientOptions implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
FactoryBean for PbRpc proxies.| 构造器和说明 |
|---|
RpcProxyFactoryBean() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
Object |
getObject() |
Class |
getObjectType() |
Class |
getServiceInterface()
Gets the service interface.
|
boolean |
isSingleton() |
void |
setServiceInterface(Class serviceInterface)
Sets the service interface.
|
copyFrom, getActiveInstancesRatioOfFairLoadBalance, getBacklog, getChannelType, getClientName, getCompressType, getConnectTimeoutMillis, getEncoding, getFutureBufferSize, getHealthyCheckIntervalMillis, getIoEventType, getIoThreadNum, getKeepAliveTime, getLatencyWindowSizeOfFairLoadBalance, getLoadBalanceType, getMaxTotalConnections, getMaxTryTimes, getMinIdleConnections, getProtocolType, getReadTimeoutMillis, getReceiveBufferSize, getSendBufferSize, getSoLinger, getTimeBetweenEvictionRunsMillis, getWorkThreadNum, getWriteTimeoutMillis, isGlobalThreadPoolSharing, isKeepAlive, isReuseAddr, isTcpNoDelay, setActiveInstancesRatioOfFairLoadBalance, setBacklog, setChannelType, setClientName, setCompressType, setConnectTimeoutMillis, setEncoding, setFutureBufferSize, setGlobalThreadPoolSharing, setHealthyCheckIntervalMillis, setIoEventType, setIoThreadNum, setKeepAlive, setKeepAliveTime, setLatencyWindowSizeOfFairLoadBalance, setLoadBalanceType, setMaxTotalConnections, setMaxTryTimes, setMinIdleConnections, setProtocolType, setReadTimeoutMillis, setReceiveBufferSize, setReuseAddr, setSendBufferSize, setSoLinger, setTcpNoDelay, setTimeBetweenEvictionRunsMillis, setWorkThreadNum, setWriteTimeoutMillispublic void setServiceInterface(Class serviceInterface)
serviceInterface - the new service interfacepublic Class getServiceInterface()
public Object getObject() throws Exception
getObject 在接口中 org.springframework.beans.factory.FactoryBeanExceptionpublic Class getObjectType()
getObjectType 在接口中 org.springframework.beans.factory.FactoryBeanpublic boolean isSingleton()
isSingleton 在接口中 org.springframework.beans.factory.FactoryBeanpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanExceptionCopyright © 2019 Baidu, Inc.. All rights reserved.