类 ServiceDescriptor
- java.lang.Object
-
- org.apache.dubbo.rpc.model.ServiceDescriptor
-
public class ServiceDescriptor extends Object
ServiceModel and ServiceMetadata are to some extend duplicated with each other. We should merge them in the future.
-
-
构造器概要
构造器 构造器 说明 ServiceDescriptor(Class<?> interfaceClass)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Set<MethodDescriptor>getAllMethods()MethodDescriptorgetMethod(String methodName, Class<?>[] paramTypes)Does not use Optional as return type to avoid potential performance decrease.MethodDescriptorgetMethod(String methodName, String params)Does not use Optional as return type to avoid potential performance decrease.List<MethodDescriptor>getMethods(String methodName)Class<?>getServiceInterfaceClass()StringgetServiceName()
-
-
-
构造器详细资料
-
ServiceDescriptor
public ServiceDescriptor(Class<?> interfaceClass)
-
-
方法详细资料
-
getServiceName
public String getServiceName()
-
getServiceInterfaceClass
public Class<?> getServiceInterfaceClass()
-
getAllMethods
public Set<MethodDescriptor> getAllMethods()
-
getMethod
public MethodDescriptor getMethod(String methodName, String params)
Does not use Optional as return type to avoid potential performance decrease.- 参数:
methodName-params-- 返回:
-
getMethod
public MethodDescriptor getMethod(String methodName, Class<?>[] paramTypes)
Does not use Optional as return type to avoid potential performance decrease.- 参数:
methodName-paramTypes-- 返回:
-
getMethods
public List<MethodDescriptor> getMethods(String methodName)
-
-