public class ModuleConfig extends AbstractConfig
| 构造器和说明 |
|---|
ModuleConfig() |
ModuleConfig(ModuleModel moduleModel) |
ModuleConfig(ModuleModel moduleModel,
String name) |
ModuleConfig(String name) |
| 限定符和类型 | 方法和说明 |
|---|---|
Boolean |
getBackground() |
Boolean |
getExportAsync() |
Integer |
getExportThreadNum() |
MonitorConfig |
getMonitor() |
String |
getName() |
String |
getOrganization() |
String |
getOwner() |
Boolean |
getReferAsync() |
Integer |
getReferThreadNum() |
List<RegistryConfig> |
getRegistries() |
RegistryConfig |
getRegistry() |
ModuleModel |
getScopeModel() |
String |
getVersion() |
void |
setBackground(Boolean background)
Whether start module in background.
|
void |
setExportAsync(Boolean exportAsync) |
void |
setExportThreadNum(Integer exportThreadNum) |
void |
setMonitor(MonitorConfig monitor) |
void |
setMonitor(String monitor) |
void |
setName(String name) |
void |
setOrganization(String organization) |
void |
setOwner(String owner) |
void |
setReferAsync(Boolean referAsync) |
void |
setReferThreadNum(Integer referThreadNum) |
void |
setRegistries(List<? extends RegistryConfig> registries) |
void |
setRegistry(RegistryConfig registry) |
void |
setVersion(String version) |
appendAttributes, appendAttributes, appendParameters, appendParameters, equals, getApplicationModel, getConfigMode, getId, getMetaData, getMetaData, getPluralTagName, getPrefixes, getTagName, getTypePrefix, hashCode, isDefault, isRefreshed, isValid, overrideWithConfig, refresh, setDefault, setId, setScopeModel, toStringpublic ModuleConfig()
public ModuleConfig(ModuleModel moduleModel)
public ModuleConfig(String name)
public ModuleConfig(ModuleModel moduleModel, String name)
public ModuleModel getScopeModel()
getScopeModel 在类中 AbstractConfig@Parameter(key="module") public String getName()
public void setName(String name)
@Parameter(key="module.version") public String getVersion()
public void setVersion(String version)
@Parameter(key="module.owner") public String getOwner()
public void setOwner(String owner)
@Parameter(key="module.organization") public String getOrganization()
public void setOrganization(String organization)
public RegistryConfig getRegistry()
public void setRegistry(RegistryConfig registry)
public List<RegistryConfig> getRegistries()
public void setRegistries(List<? extends RegistryConfig> registries)
public MonitorConfig getMonitor()
public void setMonitor(MonitorConfig monitor)
public void setMonitor(String monitor)
public Boolean getBackground()
public void setBackground(Boolean background)
org.apache.dubbo.config.spring.context.DubboDeployApplicationListenerpublic Integer getReferThreadNum()
public void setReferThreadNum(Integer referThreadNum)
public Integer getExportThreadNum()
public void setExportThreadNum(Integer exportThreadNum)
public Boolean getReferAsync()
public void setReferAsync(Boolean referAsync)
public Boolean getExportAsync()
public void setExportAsync(Boolean exportAsync)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.