Class ModuleConfig

java.lang.Object
org.apache.dubbo.config.AbstractConfig
org.apache.dubbo.config.ModuleConfig
All Implemented Interfaces:
Serializable

public class ModuleConfig extends AbstractConfig
Configuration for the module.
See Also:
  • Constructor Details

    • ModuleConfig

      public ModuleConfig()
    • ModuleConfig

      public ModuleConfig(ModuleModel moduleModel)
    • ModuleConfig

      public ModuleConfig(String name)
    • ModuleConfig

      public ModuleConfig(ModuleModel moduleModel, String name)
  • Method Details

    • getScopeModel

      public ModuleModel getScopeModel()
      Overrides:
      getScopeModel in class AbstractConfig
    • getName

      @Parameter(key="module") public String getName()
    • setName

      public void setName(String name)
    • getVersion

      @Parameter(key="module.version") public String getVersion()
    • setVersion

      public void setVersion(String version)
    • getOwner

      @Parameter(key="module.owner") public String getOwner()
    • setOwner

      public void setOwner(String owner)
    • getOrganization

      @Parameter(key="module.organization") public String getOrganization()
    • setOrganization

      public void setOrganization(String organization)
    • getRegistry

      public RegistryConfig getRegistry()
    • setRegistry

      public void setRegistry(RegistryConfig registry)
    • getRegistries

      public List<RegistryConfig> getRegistries()
    • setRegistries

      public void setRegistries(List<? extends RegistryConfig> registries)
    • getMonitor

      public MonitorConfig getMonitor()
    • setMonitor

      public void setMonitor(MonitorConfig monitor)
    • setMonitor

      public void setMonitor(String monitor)
    • getBackground

      public Boolean getBackground()
    • setBackground

      public void setBackground(Boolean background)
      Whether start module in background. If start in background, do not await finish on Spring ContextRefreshedEvent.
      See Also:
    • getReferThreadNum

      public Integer getReferThreadNum()
    • setReferThreadNum

      public void setReferThreadNum(Integer referThreadNum)
    • getExportThreadNum

      public Integer getExportThreadNum()
    • setExportThreadNum

      public void setExportThreadNum(Integer exportThreadNum)
    • getReferAsync

      public Boolean getReferAsync()
    • setReferAsync

      public void setReferAsync(Boolean referAsync)
    • getExportAsync

      public Boolean getExportAsync()
    • setExportAsync

      public void setExportAsync(Boolean exportAsync)
    • getCheckReferenceTimeout

      public Long getCheckReferenceTimeout()
    • setCheckReferenceTimeout

      public void setCheckReferenceTimeout(Long checkReferenceTimeout)