类 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

        public ServiceDescriptor​(Class<?> interfaceClass)
    • 方法详细资料

      • getServiceName

        public String getServiceName()
      • getServiceInterfaceClass

        public Class<?> getServiceInterfaceClass()
      • 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 -
        返回: