public abstract class AbstractInterfaceConfig extends AbstractMethodConfig
| Constructor and Description |
|---|
AbstractInterfaceConfig() |
| Modifier and Type | Method and Description |
|---|---|
static void |
appendRuntimeParameters(Map<String,String> map) |
void |
checkInterfaceAndMethods(Class<?> interfaceClass,
List<MethodConfig> methods)
Check whether the remote service interface and the methods meet with Dubbo's requirements.it mainly check, if the
methods configured in the configuration file are included in the interface of remote service
|
void |
checkRegistry()
Check whether the registry config is exists, and then conversion it to
RegistryConfig |
void |
checkStubAndLocal(Class<?> interfaceClass)
Legitimacy check of stub, note that: the local will deprecated, and replace with
stub |
void |
completeCompoundConfigs(AbstractInterfaceConfig interfaceConfig) |
ApplicationConfig |
getApplication() |
Boolean |
getAuth() |
Integer |
getCallbacks() |
String |
getCluster() |
ConfigCenterConfig |
getConfigCenter()
Deprecated.
|
Integer |
getConnections() |
List<URL> |
getExportedUrls() |
String |
getFilter() |
String |
getLayer() |
String |
getListener() |
String |
getLocal()
Deprecated.
Replace to
getStub() |
MetadataReportConfig |
getMetadataReportConfig()
Deprecated.
|
List<MethodConfig> |
getMethods() |
MetricsConfig |
getMetrics()
Deprecated.
|
ModuleConfig |
getModule() |
MonitorConfig |
getMonitor() |
String |
getOnconnect() |
String |
getOndisconnect() |
String |
getOwner() |
String |
getProxy() |
List<RegistryConfig> |
getRegistries() |
RegistryConfig |
getRegistry() |
String |
getRegistryIds() |
String |
getScope() |
SslConfig |
getSslConfig() |
String |
getStub() |
String |
getTag() |
void |
setApplication(ApplicationConfig application)
Deprecated.
|
void |
setAuth(Boolean auth) |
void |
setCallbacks(Integer callbacks) |
void |
setCluster(String cluster) |
void |
setConfigCenter(ConfigCenterConfig configCenter)
Deprecated.
|
void |
setConnections(Integer connections) |
void |
setFilter(String filter) |
void |
setLayer(String layer) |
void |
setListener(String listener) |
void |
setLocal(Boolean local)
Deprecated.
Replace to
setStub(Boolean) |
void |
setLocal(String local)
Deprecated.
Replace to
setStub(String) |
void |
setMetadataReportConfig(MetadataReportConfig metadataReportConfig)
Deprecated.
|
void |
setMethods(List<? extends MethodConfig> methods) |
void |
setMetrics(MetricsConfig metrics)
Deprecated.
|
void |
setModule(ModuleConfig module)
Deprecated.
|
void |
setMonitor(MonitorConfig monitor)
Deprecated.
|
void |
setMonitor(String monitor)
Deprecated.
|
void |
setOnconnect(String onconnect) |
void |
setOndisconnect(String ondisconnect) |
void |
setOwner(String owner) |
void |
setProxy(String proxy) |
void |
setRegistries(List<? extends RegistryConfig> registries) |
void |
setRegistry(RegistryConfig registry) |
void |
setRegistryIds(String registryIds) |
void |
setScope(String scope) |
void |
setStub(Boolean stub) |
void |
setStub(String stub) |
void |
setTag(String tag) |
URL |
toUrl() |
List<URL> |
toUrls() |
void |
verifyStubAndLocal(String className,
String label,
Class<?> interfaceClass) |
getActives, getCache, getForks, getLoadbalance, getMerger, getMock, getParameters, getRetries, getSent, getTimeout, getValidation, isAsync, setActives, setAsync, setCache, setForks, setLoadbalance, setMerger, setMock, setMock, setParameters, setRetries, setSent, setTimeout, setValidationaddIntoConfigManager, appendParameters, appendParameters, equals, getId, getMetaData, getPrefix, getTagName, hashCode, isValid, refresh, setId, setPrefix, toString, updateIdIfAbsentpublic URL toUrl()
public void checkRegistry()
RegistryConfigpublic void checkInterfaceAndMethods(Class<?> interfaceClass, List<MethodConfig> methods)
interfaceClass - the interface of remote servicemethods - the methods configuredpublic void checkStubAndLocal(Class<?> interfaceClass)
stubpublic void verifyStubAndLocal(String className, String label, Class<?> interfaceClass)
public void completeCompoundConfigs(AbstractInterfaceConfig interfaceConfig)
@Deprecated public String getLocal()
getStub()@Deprecated public void setLocal(Boolean local)
setStub(Boolean)local - @Deprecated public void setLocal(String local)
setStub(String)local - public String getStub()
public void setStub(Boolean stub)
public void setStub(String stub)
public String getCluster()
public void setCluster(String cluster)
public String getProxy()
public void setProxy(String proxy)
public Integer getConnections()
public void setConnections(Integer connections)
@Parameter(key="reference.filter", append=true) public String getFilter()
public void setFilter(String filter)
@Parameter(key="invoker.listener", append=true) public String getListener()
public void setListener(String listener)
public String getLayer()
public void setLayer(String layer)
public ApplicationConfig getApplication()
@Deprecated public void setApplication(ApplicationConfig application)
public ModuleConfig getModule()
@Deprecated public void setModule(ModuleConfig module)
public RegistryConfig getRegistry()
public void setRegistry(RegistryConfig registry)
public List<RegistryConfig> getRegistries()
public void setRegistries(List<? extends RegistryConfig> registries)
@Parameter(excluded=true) public String getRegistryIds()
public void setRegistryIds(String registryIds)
public List<MethodConfig> getMethods()
public void setMethods(List<? extends MethodConfig> methods)
public MonitorConfig getMonitor()
@Deprecated public void setMonitor(String monitor)
@Deprecated public void setMonitor(MonitorConfig monitor)
public String getOwner()
public void setOwner(String owner)
@Deprecated public ConfigCenterConfig getConfigCenter()
@Deprecated public void setConfigCenter(ConfigCenterConfig configCenter)
public Integer getCallbacks()
public void setCallbacks(Integer callbacks)
public String getOnconnect()
public void setOnconnect(String onconnect)
public String getOndisconnect()
public void setOndisconnect(String ondisconnect)
public String getScope()
public void setScope(String scope)
@Deprecated public MetadataReportConfig getMetadataReportConfig()
@Deprecated public void setMetadataReportConfig(MetadataReportConfig metadataReportConfig)
@Deprecated public MetricsConfig getMetrics()
@Deprecated public void setMetrics(MetricsConfig metrics)
@Parameter(key="dubbo.tag", useKeyAsProperty=false) public String getTag()
public void setTag(String tag)
public Boolean getAuth()
public void setAuth(Boolean auth)
public SslConfig getSslConfig()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.