类 ConsumerModel
- java.lang.Object
-
- com.alibaba.dubbo.config.model.ConsumerModel
-
public class ConsumerModel extends Object
-
-
构造器概要
构造器 构造器 说明 ConsumerModel(String serviceName, ReferenceConfig metadata, Object proxyObject, Method[] methods)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<ConsumerMethodModel>
getAllMethods()
Return all method models for the current serviceReferenceConfig
getMetadata()
Return service metadata for consumerConsumerMethodModel
getMethodModel(Method method)
Return method model for the given method on consumer sideObject
getProxyObject()
String
getServiceName()
-
-
-
构造器详细资料
-
ConsumerModel
public ConsumerModel(String serviceName, ReferenceConfig metadata, Object proxyObject, Method[] methods)
-
-
方法详细资料
-
getMetadata
public ReferenceConfig getMetadata()
Return service metadata for consumer- 返回:
- service metadata
-
getProxyObject
public Object getProxyObject()
-
getMethodModel
public ConsumerMethodModel getMethodModel(Method method)
Return method model for the given method on consumer side- 参数:
method
- method object- 返回:
- method model
-
getAllMethods
public List<ConsumerMethodModel> getAllMethods()
Return all method models for the current service- 返回:
- method model list
-
getServiceName
public String getServiceName()
-
-