public class ConsumerModel extends Object
| Constructor and Description |
|---|
ConsumerModel(String serviceName,
ReferenceConfig metadata,
Object proxyObject,
Method[] methods) |
| Modifier and Type | Method and Description |
|---|---|
List<ConsumerMethodModel> |
getAllMethods()
Return all method models for the current service
|
ReferenceConfig |
getMetadata()
Return service metadata for consumer
|
ConsumerMethodModel |
getMethodModel(Method method)
Return method model for the given method on consumer side
|
Object |
getProxyObject() |
String |
getServiceName() |
public ConsumerModel(String serviceName, ReferenceConfig metadata, Object proxyObject, Method[] methods)
public ReferenceConfig getMetadata()
public Object getProxyObject()
public ConsumerMethodModel getMethodModel(Method method)
method - method objectpublic List<ConsumerMethodModel> getAllMethods()
public String getServiceName()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.