Package org.hertsstack.rpc
Class ReflectMethod
- java.lang.Object
-
- org.hertsstack.rpc.ReflectMethod
-
public class ReflectMethod extends java.lang.ObjectHerts refection method
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.reflect.Method method)static ReflectMethodcreate(java.lang.String serviceName, java.lang.String serviceImplName, java.lang.reflect.Method[] methods)Factory methodjava.lang.reflect.Method[]getMethods()java.lang.StringgetServiceImplName()java.lang.StringgetServiceName()voidprintMethodName()
-
-
-
Method Detail
-
create
public static ReflectMethod create(java.lang.String serviceName, java.lang.String serviceImplName, java.lang.reflect.Method[] methods)
Factory method- Parameters:
serviceName- Service interface nameserviceImplName- Service implement class namemethods- method list- Returns:
- ReflectMethod instance
-
printMethodName
public void printMethodName()
-
add
public void add(java.lang.reflect.Method method)
-
getServiceName
public java.lang.String getServiceName()
-
getServiceImplName
public java.lang.String getServiceImplName()
-
getMethods
public java.lang.reflect.Method[] getMethods()
-
-