public class StubServiceDescriptor extends Object implements ServiceDescriptor
| 构造器和说明 |
|---|
StubServiceDescriptor(String interfaceName,
Class<?> interfaceClass) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addMethod(MethodDescriptor methodDescriptor) |
boolean |
equals(Object o) |
Set<MethodDescriptor> |
getAllMethods() |
FullServiceDefinition |
getFullServiceDefinition(String serviceKey) |
String |
getInterfaceName() |
MethodDescriptor |
getMethod(String methodName,
Class<?>[] paramTypes)
Does not use Optional as return type to avoid potential performance decrease.
|
MethodDescriptor |
getMethod(String methodName,
String params)
Does not use Optional as return type to avoid potential performance decrease.
|
List<MethodDescriptor> |
getMethods(String methodName) |
Class<?> |
getServiceInterfaceClass() |
int |
hashCode() |
public void addMethod(MethodDescriptor methodDescriptor)
public FullServiceDefinition getFullServiceDefinition(String serviceKey)
getFullServiceDefinition 在接口中 ServiceDescriptorpublic String getInterfaceName()
getInterfaceName 在接口中 ServiceDescriptorpublic Class<?> getServiceInterfaceClass()
getServiceInterfaceClass 在接口中 ServiceDescriptorpublic Set<MethodDescriptor> getAllMethods()
getAllMethods 在接口中 ServiceDescriptorpublic MethodDescriptor getMethod(String methodName, String params)
getMethod 在接口中 ServiceDescriptormethodName - params - public MethodDescriptor getMethod(String methodName, Class<?>[] paramTypes)
getMethod 在接口中 ServiceDescriptormethodName - paramTypes - public List<MethodDescriptor> getMethods(String methodName)
getMethods 在接口中 ServiceDescriptorCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.