类 ReflectionServiceDescriptor
- java.lang.Object
-
- org.apache.dubbo.rpc.model.ReflectionServiceDescriptor
-
- 所有已实现的接口:
ServiceDescriptor
public class ReflectionServiceDescriptor extends Object implements ServiceDescriptor
-
-
构造器概要
构造器 构造器 说明 ReflectionServiceDescriptor(Class<?> interfaceClass)ReflectionServiceDescriptor(String interfaceName, Class<?> interfaceClass)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddMethod(MethodDescriptor methodDescriptor)booleanequals(Object o)Set<MethodDescriptor>getAllMethods()FullServiceDefinitiongetFullServiceDefinition(String serviceKey)StringgetInterfaceName()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()inthashCode()
-
-
-
方法详细资料
-
addMethod
public void addMethod(MethodDescriptor methodDescriptor)
-
getFullServiceDefinition
public FullServiceDefinition getFullServiceDefinition(String serviceKey)
- 指定者:
getFullServiceDefinition在接口中ServiceDescriptor
-
getInterfaceName
public String getInterfaceName()
- 指定者:
getInterfaceName在接口中ServiceDescriptor
-
getServiceInterfaceClass
public Class<?> getServiceInterfaceClass()
- 指定者:
getServiceInterfaceClass在接口中ServiceDescriptor
-
getAllMethods
public Set<MethodDescriptor> getAllMethods()
- 指定者:
getAllMethods在接口中ServiceDescriptor
-
getMethod
public MethodDescriptor getMethod(String methodName, String params)
Does not use Optional as return type to avoid potential performance decrease.- 指定者:
getMethod在接口中ServiceDescriptor- 参数:
methodName-params-- 返回:
-
getMethod
public MethodDescriptor getMethod(String methodName, Class<?>[] paramTypes)
Does not use Optional as return type to avoid potential performance decrease.- 指定者:
getMethod在接口中ServiceDescriptor- 参数:
methodName-paramTypes-- 返回:
-
getMethods
public List<MethodDescriptor> getMethods(String methodName)
- 指定者:
getMethods在接口中ServiceDescriptor
-
-