Interface ServiceDescriptor

All Known Implementing Classes:
ReflectionServiceDescriptor, StubServiceDescriptor

public interface ServiceDescriptor
ServiceModel and ServiceMetadata are to some extent duplicated with each other. We should merge them in the future.
  • Method Details

    • getFullServiceDefinition

      FullServiceDefinition getFullServiceDefinition(String serviceKey)
    • getInterfaceName

      String getInterfaceName()
    • getServiceInterfaceClass

      Class<?> getServiceInterfaceClass()
    • getAllMethods

      Set<MethodDescriptor> getAllMethods()
    • getMethod

      MethodDescriptor getMethod(String methodName, String params)
      Does not use Optional as return type to avoid potential performance decrease.
      Parameters:
      methodName -
      params -
      Returns:
    • getMethod

      MethodDescriptor getMethod(String methodName, Class<?>[] paramTypes)
      Does not use Optional as return type to avoid potential performance decrease.
      Parameters:
      methodName -
      paramTypes -
      Returns:
      methodDescriptor
    • getMethods

      List<MethodDescriptor> getMethods(String methodName)