程序包 com.alazeprt
类 DependencyLoader
java.lang.Object
com.alazeprt.DependencyLoader
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Class<?>getLocalClass(String className) voidloadMoreLibrary(String libPath) runStaticMethod(String className, String methodName, Class<?> returnType, Object... args)
-
构造器详细资料
-
DependencyLoader
-
-
方法详细资料
-
construct
public Object construct(String function) throws ClassNotFoundException, InstantiationException, IllegalAccessException -
loadMoreLibrary
-
construct
public Object construct(String className, Object... args) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException -
getLocalClass
-
runMethod
public Object runMethod(Object targetObject, String methodName, Class<?> returnType, Object... args) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException -
runStaticMethod
public Object runStaticMethod(String className, String methodName, Class<?> returnType, Object... args) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException
-