public class ReflectionServiceDescriptor extends Object implements ServiceDescriptor
| Constructor and Description |
|---|
ReflectionServiceDescriptor(Class<?> interfaceClass) |
ReflectionServiceDescriptor(String interfaceName,
Class<?> interfaceClass) |
| Modifier and Type | Method and Description |
|---|---|
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 ReflectionServiceDescriptor(String interfaceName, Class<?> interfaceClass)
public ReflectionServiceDescriptor(Class<?> interfaceClass)
public void addMethod(MethodDescriptor methodDescriptor)
public FullServiceDefinition getFullServiceDefinition(String serviceKey)
getFullServiceDefinition in interface ServiceDescriptorpublic String getInterfaceName()
getInterfaceName in interface ServiceDescriptorpublic Class<?> getServiceInterfaceClass()
getServiceInterfaceClass in interface ServiceDescriptorpublic Set<MethodDescriptor> getAllMethods()
getAllMethods in interface ServiceDescriptorpublic MethodDescriptor getMethod(String methodName, String params)
getMethod in interface ServiceDescriptormethodName - params - public MethodDescriptor getMethod(String methodName, Class<?>[] paramTypes)
getMethod in interface ServiceDescriptormethodName - paramTypes - public List<MethodDescriptor> getMethods(String methodName)
getMethods in interface ServiceDescriptorCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.