类 ReferenceConfig<T>
- java.lang.Object
-
- org.apache.dubbo.config.AbstractConfig
-
- org.apache.dubbo.config.AbstractMethodConfig
-
- org.apache.dubbo.config.AbstractInterfaceConfig
-
- org.apache.dubbo.config.AbstractReferenceConfig
-
- org.apache.dubbo.config.ReferenceConfigBase<T>
-
- org.apache.dubbo.config.ReferenceConfig<T>
-
- 所有已实现的接口:
Serializable
public class ReferenceConfig<T> extends org.apache.dubbo.config.ReferenceConfigBase<T>Please avoid using this class for any new application, useReferenceConfigBaseinstead.- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 static org.apache.dubbo.common.logger.Loggerlogger
-
构造器概要
构造器 构造器 说明 ReferenceConfig()ReferenceConfig(org.apache.dubbo.config.annotation.Reference reference)
-
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 voidcheckAndUpdateSubConfigs()This method should be called right after the creation of this class's instance, before any property in other config modules is used.voiddestroy()Tget()DubboBootstrapgetBootstrap()StringgetServices()已过时。Set<String>getSubscribedServices()已过时。voidinit()voidsetBootstrap(DubboBootstrap bootstrap)voidsetServices(String services)Set the service names that the Dubbo interface subscribed.-
从类继承的方法 org.apache.dubbo.config.ReferenceConfigBase
checkDefault, getActualInterface, getClient, getConsumer, getGroup, getInterfaceClass, getPrefix, getProtocol, getServiceMetadata, getUniqueServiceName, getUrl, getVersion, resolveFile, setClient, setConsumer, setInterface, setInterfaceClass, setProtocol, setUrl, shouldCheck, shouldInit
-
从类继承的方法 org.apache.dubbo.config.AbstractReferenceConfig
getFilter, getGeneric, getLazy, getListener, getProvidedBy, getReconnect, getRouter, getSticky, getStubevent, isCheck, isGeneric, isInit, isInjvm, setCheck, setGeneric, setGeneric, setInit, setInjvm, setLazy, setListener, setOnconnect, setOndisconnect, setProvidedBy, setReconnect, setRouter, setSticky
-
从类继承的方法 org.apache.dubbo.config.AbstractInterfaceConfig
appendRuntimeParameters, checkInterfaceAndMethods, checkRegistry, checkStubAndLocal, completeCompoundConfigs, getApplication, getAuth, getCallbacks, getCluster, getConfigCenter, getConnections, getExportedUrls, getGroup, getInterface, getLayer, getLocal, getMetadataReportConfig, getMethods, getMetrics, getModule, getMonitor, getOnconnect, getOndisconnect, getOwner, getProxy, getRegistries, getRegistry, getRegistryIds, getScope, getSslConfig, getStub, getTag, getVersion, initServiceMetadata, setApplication, setAuth, setCallbacks, setCluster, setConfigCenter, setConnections, setFilter, setGroup, setInterface, setLayer, setLocal, setLocal, setMetadataReportConfig, setMethods, setMetrics, setModule, setMonitor, setMonitor, setOwner, setProxy, setRegistries, setRegistry, setRegistryIds, setScope, setStub, setStub, setTag, setVersion, toUrl, toUrls, verifyStubAndLocal
-
从类继承的方法 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
-
-
-
-
方法详细资料
-
getServices
@Deprecated @Parameter(key="subscribed-services") public String getServices()
已过时。Get a string presenting the service names that the Dubbo interface subscribed. If it is a multiple-values, the content will be a comma-delimited String.- 返回:
- non-null
- 从以下版本开始:
- 2.7.8
- 另请参阅:
RegistryConstants.SUBSCRIBED_SERVICE_NAMES_KEY
-
getSubscribedServices
@Deprecated @Parameter(excluded=true) public Set<String> getSubscribedServices()
已过时。It's an alias method forgetServices(), but the more convenient.- 返回:
- the String
Listpresenting the Dubbo interface subscribed - 从以下版本开始:
- 2.7.8
-
setServices
public void setServices(String services)
Set the service names that the Dubbo interface subscribed.- 参数:
services- If it is a multiple-values, the content will be a comma-delimited String.- 从以下版本开始:
- 2.7.8
-
destroy
public void destroy()
- 指定者:
destroy在类中org.apache.dubbo.config.ReferenceConfigBase<T>
-
init
public void init()
-
checkAndUpdateSubConfigs
public void checkAndUpdateSubConfigs()
This method should be called right after the creation of this class's instance, before any property in other config modules is used. Check each config modules are created properly and override their properties if necessary.
-
getBootstrap
public DubboBootstrap getBootstrap()
-
setBootstrap
public void setBootstrap(DubboBootstrap bootstrap)
-
-