public abstract class AbstractServiceConfig extends AbstractInterfaceConfig
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
export
一个service可以按多个protocol提供服务,不同protocol使用不同port 利用export来设置protocol和port,格式如下:
protocol1:port1,protocol2:port2
|
protected String |
host
一般不用设置,由服务自己获取,但如果有多个ip,而只想用指定ip,则可以在此处指定
|
accessLog, actives, application, async, check, codec, extConfig, filter, group, localServiceAddress, mingzSize, mock, module, protocols, proxy, register, registries, requestTimeout, retries, shareChannel, throwException, usegz, versionid| 构造器和说明 |
|---|
AbstractServiceConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getExport() |
String |
getHost() |
void |
setExport(String export) |
void |
setHost(String host) |
checkInterfaceAndMethods, getAccessLog, getActives, getApplication, getAsync, getCheck, getCodec, getExtConfig, getFilter, getGroup, getLocalHostAddress, getLocalServiceAddress, getMingzSize, getMock, getModule, getProtocols, getProxy, getRegister, getRegistries, getRequestTimeout, getRetries, getShareChannel, getThrowException, getUsegz, getVersion, hasProtocol, initLocalAppInfo, loadRegistryUrls, setAccessLog, setActives, setApplication, setAsync, setCheck, setCheck, setCodec, setExtConfig, setFilter, setGroup, setLocalServiceAddress, setMingzSize, setMock, setModule, setProtocol, setProtocols, setProxy, setRegister, setRegistries, setRegistry, setRequestTimeout, setRetries, setShareChannel, setThrowException, setUsegz, setVersionappendConfigParams, appendConfigParams, collectConfigParams, collectMethodConfigParams, getId, setId, toStringCopyright © 2016. All rights reserved.