类 ReferenceConfig<T>
- java.lang.Object
-
- com.alibaba.dubbo.config.AbstractConfig
-
- com.alibaba.dubbo.config.AbstractMethodConfig
-
- com.alibaba.dubbo.config.AbstractInterfaceConfig
-
- com.alibaba.dubbo.config.AbstractReferenceConfig
-
- com.alibaba.dubbo.config.ReferenceConfig<T>
-
- 所有已实现的接口:
Serializable
- 直接已知子类:
ReferenceBean
public class ReferenceConfig<T> extends AbstractReferenceConfig
ReferenceConfig- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 ReferenceConfig()
ReferenceConfig(Reference reference)
-
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 void
destroy()
T
get()
String
getClient()
ConsumerConfig
getConsumer()
String
getGroup()
String
getInterface()
Class<?>
getInterfaceClass()
List<MethodConfig>
getMethods()
String
getProtocol()
String
getUniqueServiceName()
String
getUrl()
String
getVersion()
void
setClient(String client)
void
setConsumer(ConsumerConfig consumer)
void
setInterface(Class<?> interfaceClass)
void
setInterface(String interfaceName)
void
setInterfaceClass(Class<?> interfaceClass)
已过时。void
setMethods(List<? extends MethodConfig> methods)
void
setProtocol(String protocol)
void
setUrl(String url)
URL
toUrl()
List<URL>
toUrls()
-
从类继承的方法 com.alibaba.dubbo.config.AbstractReferenceConfig
getFilter, getGeneric, getLazy, getListener, getReconnect, getSticky, getStubevent, isCheck, isGeneric, isInit, isInjvm, setCheck, setGeneric, setGeneric, setGroup, setInit, setInjvm, setLazy, setListener, setOnconnect, setOndisconnect, setReconnect, setSticky, setVersion
-
从类继承的方法 com.alibaba.dubbo.config.AbstractInterfaceConfig
getApplication, getCallbacks, getCluster, getConnections, getLayer, getLocal, getModule, getMonitor, getOnconnect, getOndisconnect, getOwner, getProxy, getRegistries, getRegistry, getScope, getStub, setApplication, setCallbacks, setCluster, setConnections, setFilter, setLayer, setLocal, setLocal, setModule, setMonitor, setMonitor, setOwner, setProxy, setRegistries, setRegistry, setScope, setStub, setStub
-
从类继承的方法 com.alibaba.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
-
从类继承的方法 com.alibaba.dubbo.config.AbstractConfig
getId, setId, toString
-
-
-
-
构造器详细资料
-
ReferenceConfig
public ReferenceConfig()
-
ReferenceConfig
public ReferenceConfig(Reference reference)
-
-
方法详细资料
-
toUrl
public URL toUrl()
-
get
public T get()
-
destroy
public void destroy()
-
getInterfaceClass
public Class<?> getInterfaceClass()
-
setInterfaceClass
@Deprecated public void setInterfaceClass(Class<?> interfaceClass)
已过时。- 参数:
interfaceClass
-- 另请参阅:
setInterface(Class)
-
getInterface
public String getInterface()
-
setInterface
public void setInterface(Class<?> interfaceClass)
-
setInterface
public void setInterface(String interfaceName)
-
getClient
public String getClient()
-
setClient
public void setClient(String client)
-
getUrl
@Parameter(excluded=true) public String getUrl()
-
setUrl
public void setUrl(String url)
-
getMethods
public List<MethodConfig> getMethods()
-
setMethods
public void setMethods(List<? extends MethodConfig> methods)
-
getConsumer
public ConsumerConfig getConsumer()
-
setConsumer
public void setConsumer(ConsumerConfig consumer)
-
getProtocol
public String getProtocol()
-
setProtocol
public void setProtocol(String protocol)
-
getUniqueServiceName
@Parameter(excluded=true) public String getUniqueServiceName()
-
getVersion
public String getVersion()
- 覆盖:
getVersion
在类中AbstractReferenceConfig
-
getGroup
public String getGroup()
- 覆盖:
getGroup
在类中AbstractReferenceConfig
-
-