类 AbstractInterfaceConfig
- java.lang.Object
-
- org.apache.dubbo.config.AbstractConfig
-
- org.apache.dubbo.config.AbstractMethodConfig
-
- org.apache.dubbo.config.AbstractInterfaceConfig
-
- 所有已实现的接口:
Serializable
public abstract class AbstractInterfaceConfig extends AbstractMethodConfig
AbstractDefaultConfig- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 AbstractInterfaceConfig()
-
方法概要
-
从类继承的方法 org.apache.dubbo.config.AbstractMethodConfig
getActives, getCache, getForks, getLoadbalance, getMerger, getMock, getParameters, getRetries, getSent, getTimeout, getValidation, isAsync, setActives, setAsync, setCache, setForks, setLoadbalance, setMerger, setMock, setMock, setParameters, setRetries, setSent, setTimeout, setValidation
-
从类继承的方法 org.apache.dubbo.config.AbstractConfig
addIntoConfigManager, appendParameters, appendParameters, equals, getId, getMetaData, getPrefix, getTagName, hashCode, isDefault, isValid, refresh, setDefault, setId, setPrefix, toString, updateIdIfAbsent
-
-
-
-
方法详细资料
-
toUrl
public URL toUrl()
-
checkRegistry
public void checkRegistry()
Check whether the registry config is exists, and then conversion it toRegistryConfig
-
checkInterfaceAndMethods
public 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- 参数:
interfaceClass- the interface of remote servicemethods- the methods configured
-
checkStubAndLocal
public void checkStubAndLocal(Class<?> interfaceClass)
Legitimacy check of stub, note that: the local will deprecated, and replace withstub
-
verifyStubAndLocal
public void verifyStubAndLocal(String className, String label, Class<?> interfaceClass)
-
completeCompoundConfigs
public void completeCompoundConfigs(AbstractInterfaceConfig interfaceConfig)
-
getLocal
@Deprecated public String getLocal()
已过时。Replace togetStub()- 返回:
- local
-
setLocal
@Deprecated public void setLocal(Boolean local)
已过时。Replace tosetStub(Boolean)- 参数:
local-
-
setLocal
@Deprecated public void setLocal(String local)
已过时。Replace tosetStub(String)- 参数:
local-
-
getStub
public String getStub()
-
setStub
public void setStub(Boolean stub)
-
setStub
public void setStub(String stub)
-
getCluster
public String getCluster()
-
setCluster
public void setCluster(String cluster)
-
getProxy
public String getProxy()
-
setProxy
public void setProxy(String proxy)
-
getConnections
public Integer getConnections()
-
setConnections
public void setConnections(Integer connections)
-
getFilter
@Parameter(key="reference.filter", append=true) public String getFilter()
-
setFilter
public void setFilter(String filter)
-
getListener
@Parameter(key="invoker.listener", append=true) public String getListener()
-
setListener
public void setListener(String listener)
-
getLayer
public String getLayer()
-
setLayer
public void setLayer(String layer)
-
getApplication
public ApplicationConfig getApplication()
Always use the global ApplicationConfig
-
setApplication
@Deprecated public void setApplication(ApplicationConfig application)
已过时。
-
getModule
public ModuleConfig getModule()
-
setModule
@Deprecated public void setModule(ModuleConfig module)
已过时。
-
getRegistry
public RegistryConfig getRegistry()
-
setRegistry
public void setRegistry(RegistryConfig registry)
-
getRegistries
public List<RegistryConfig> getRegistries()
-
setRegistries
public void setRegistries(List<? extends RegistryConfig> registries)
-
getRegistryIds
@Parameter(excluded=true) public String getRegistryIds()
-
setRegistryIds
public void setRegistryIds(String registryIds)
-
getMethods
public List<MethodConfig> getMethods()
-
setMethods
public void setMethods(List<? extends MethodConfig> methods)
-
getMonitor
public MonitorConfig getMonitor()
-
setMonitor
@Deprecated public void setMonitor(String monitor)
已过时。
-
setMonitor
@Deprecated public void setMonitor(MonitorConfig monitor)
已过时。
-
getOwner
public String getOwner()
-
setOwner
public void setOwner(String owner)
-
getConfigCenter
@Deprecated public ConfigCenterConfig getConfigCenter()
已过时。
-
setConfigCenter
@Deprecated public void setConfigCenter(ConfigCenterConfig configCenter)
已过时。
-
getCallbacks
public Integer getCallbacks()
-
setCallbacks
public void setCallbacks(Integer callbacks)
-
getOnconnect
public String getOnconnect()
-
setOnconnect
public void setOnconnect(String onconnect)
-
getOndisconnect
public String getOndisconnect()
-
setOndisconnect
public void setOndisconnect(String ondisconnect)
-
getScope
public String getScope()
-
setScope
public void setScope(String scope)
-
getMetadataReportConfig
@Deprecated public MetadataReportConfig getMetadataReportConfig()
已过时。
-
setMetadataReportConfig
@Deprecated public void setMetadataReportConfig(MetadataReportConfig metadataReportConfig)
已过时。
-
getMetrics
@Deprecated public MetricsConfig getMetrics()
已过时。
-
setMetrics
@Deprecated public void setMetrics(MetricsConfig metrics)
已过时。
-
getTag
@Parameter(key="dubbo.tag", useKeyAsProperty=false) public String getTag()
-
setTag
public void setTag(String tag)
-
getAuth
public Boolean getAuth()
-
setAuth
public void setAuth(Boolean auth)
-
getSslConfig
public SslConfig getSslConfig()
-
initServiceMetadata
public void initServiceMetadata(AbstractInterfaceConfig interfaceConfig)
-
getGroup
public String getGroup(AbstractInterfaceConfig interfaceConfig)
-
getVersion
public String getVersion(AbstractInterfaceConfig interfaceConfig)
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String version)
-
getGroup
public String getGroup()
-
setGroup
public void setGroup(String group)
-
getInterface
public String getInterface()
-
setInterface
public void setInterface(String interfaceName)
-
-