类 MethodConfig
- java.lang.Object
-
- org.apache.dubbo.config.AbstractConfig
-
- org.apache.dubbo.config.AbstractMethodConfig
-
- org.apache.dubbo.config.MethodConfig
-
- 所有已实现的接口:
Serializable
public class MethodConfig extends AbstractMethodConfig
The method configuration- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 MethodConfig()
MethodConfig(Method method)
已过时。
-
方法概要
-
从类继承的方法 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
appendAttributes, appendParameters, appendParameters, equals, getId, getMetaData, getPluralTagName, getTagName, getTypePrefix, hashCode, isDefault, isRefreshed, isValid, refresh, setDefault, setId, toString, updateIdIfAbsent
-
-
-
-
构造器详细资料
-
MethodConfig
public MethodConfig()
-
MethodConfig
@Deprecated public MethodConfig(Method method)
已过时。TODO remove this construct, the callback method processing logic needs to rely on Spring context
-
-
方法详细资料
-
constructMethodConfig
@Deprecated public static List<MethodConfig> constructMethodConfig(Method[] methods)
已过时。TODO remove constructMethodConfig- 参数:
methods
-- 返回:
-
getPrefixes
@Parameter(excluded=true) public List<String> getPrefixes()
Get method prefixes- 覆盖:
getPrefixes
在类中AbstractConfig
- 返回:
-
addIntoConfigManager
public void addIntoConfigManager()
从类复制的说明:AbstractConfig
Addinstance
intoConfigManager
Current method will invoked by Spring or Java EE container automatically, or should be triggered manually.
-
getName
@Parameter(excluded=true) public String getName()
-
setName
public void setName(String name)
-
getStat
public Integer getStat()
-
setStat
@Deprecated public void setStat(Integer stat)
已过时。
-
isRetry
@Deprecated public Boolean isRetry()
已过时。
-
setRetry
@Deprecated public void setRetry(Boolean retry)
已过时。
-
isReliable
@Deprecated public Boolean isReliable()
已过时。
-
setReliable
@Deprecated public void setReliable(Boolean reliable)
已过时。
-
getExecutes
public Integer getExecutes()
-
setExecutes
public void setExecutes(Integer executes)
-
getDeprecated
public Boolean getDeprecated()
-
setDeprecated
public void setDeprecated(Boolean deprecated)
-
getArguments
public List<ArgumentConfig> getArguments()
-
setArguments
public void setArguments(List<? extends ArgumentConfig> arguments)
-
getSticky
public Boolean getSticky()
-
setSticky
public void setSticky(Boolean sticky)
-
getOnreturn
@Parameter(key="onreturn.instance", excluded=true, attribute=true) public Object getOnreturn()
-
setOnreturn
public void setOnreturn(Object onreturn)
-
getOnreturnMethod
@Parameter(key="onreturn.method", excluded=true, attribute=true) public String getOnreturnMethod()
-
setOnreturnMethod
public void setOnreturnMethod(String onreturnMethod)
-
getOnthrow
@Parameter(key="onthrow.instance", excluded=true, attribute=true) public Object getOnthrow()
-
setOnthrow
public void setOnthrow(Object onthrow)
-
getOnthrowMethod
@Parameter(key="onthrow.method", excluded=true, attribute=true) public String getOnthrowMethod()
-
setOnthrowMethod
public void setOnthrowMethod(String onthrowMethod)
-
getOninvoke
@Parameter(key="oninvoke.instance", excluded=true, attribute=true) public Object getOninvoke()
-
setOninvoke
public void setOninvoke(Object oninvoke)
-
getOninvokeMethod
@Parameter(key="oninvoke.method", excluded=true, attribute=true) public String getOninvokeMethod()
-
setOninvokeMethod
public void setOninvokeMethod(String oninvokeMethod)
-
isReturn
public Boolean isReturn()
-
setReturn
public void setReturn(Boolean isReturn)
-
getService
@Parameter(excluded=true, attribute=false) public String getService()
-
setService
public void setService(String service)
-
getServiceId
@Parameter(excluded=true, attribute=false) public String getServiceId()
-
setServiceId
public void setServiceId(String serviceId)
-
setParentPrefix
public void setParentPrefix(String parentPrefix)
-
getParentPrefix
@Parameter(excluded=true, attribute=false) public String getParentPrefix()
-
-