类 SpringReflectInvoke
java.lang.Object
tech.mhuang.pacebox.springboot.core.spring.reflect.SpringReflectInvoke
- 所有已实现的接口:
tech.mhuang.pacebox.core.reflect.BaseReflectInvoke
public class SpringReflectInvoke
extends Object
implements tech.mhuang.pacebox.core.reflect.BaseReflectInvoke
反射调用(依赖spring)
- 从以下版本开始:
- 1.0.0
- 作者:
- mhuang
-
字段概要
从接口继承的字段 tech.mhuang.pacebox.core.reflect.BaseReflectInvoke
CONST_TYPES -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明<T> TgetMethodToValue(Class<?> clazz, String methodName, Object... params) <T> TgetMethodToValue(String clazzName, String methodName, Object... params) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 tech.mhuang.pacebox.core.reflect.BaseReflectInvoke
checkType, getClasses
-
构造器详细资料
-
SpringReflectInvoke
public SpringReflectInvoke()
-
-
方法详细资料
-
getMethodToValue
public <T> T getMethodToValue(Class<?> clazz, String methodName, Object... params) throws NoSuchMethodException, SecurityException, IllegalAccessException, IllegalArgumentException, InvocationTargetException - 指定者:
getMethodToValue在接口中tech.mhuang.pacebox.core.reflect.BaseReflectInvoke- 抛出:
NoSuchMethodExceptionSecurityExceptionIllegalAccessExceptionIllegalArgumentExceptionInvocationTargetException
-
getMethodToValue
public <T> T getMethodToValue(String clazzName, String methodName, Object... params) throws NoSuchMethodException, SecurityException, IllegalAccessException, IllegalArgumentException, InvocationTargetException - 指定者:
getMethodToValue在接口中tech.mhuang.pacebox.core.reflect.BaseReflectInvoke- 抛出:
NoSuchMethodExceptionSecurityExceptionIllegalAccessExceptionIllegalArgumentExceptionInvocationTargetException
-