Package org.hertsstack.rpc
Class ReflectMethod
- java.lang.Object
-
- org.hertsstack.rpc.ReflectMethod
-
public class ReflectMethod extends java.lang.Object
Herts refection method
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.lang.reflect.Method method)
static ReflectMethod
create(java.lang.String serviceName, java.lang.String serviceImplName, java.lang.reflect.Method[] methods)
Factory methodjava.lang.reflect.Method[]
getMethods()
java.lang.String
getServiceImplName()
java.lang.String
getServiceName()
void
printMethodName()
-
-
-
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()
-
-