类 MethodInvokingRunnable
java.lang.Object
cn.taketoday.util.ReflectiveMethodInvoker
cn.taketoday.beans.support.ArgumentConvertingMethodInvoker
cn.taketoday.scheduling.support.MethodInvokingRunnable
- 所有已实现的接口:
Aware,BeanClassLoaderAware,InitializingBean,Runnable
public class MethodInvokingRunnable
extends ArgumentConvertingMethodInvoker
implements Runnable, BeanClassLoaderAware, InitializingBean
Adapter that implements the
Runnable interface as a configurable
method invocation based on Framework's MethodInvoker.
Inherits common configuration properties from
ReflectiveMethodInvoker.
- 从以下版本开始:
- 4.0 2022/2/18 11:18
- 作者:
- Juergen Hoeller, Harry Yang
- 另请参阅:
-
字段概要
从类继承的字段 cn.taketoday.util.ReflectiveMethodInvoker
targetClass -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidprotected StringBuild a message for an invocation failure exception.protected Class<?>resolveClassName(String className) voidrun()voidsetBeanClassLoader(ClassLoader classLoader) 从类继承的方法 cn.taketoday.beans.support.ArgumentConvertingMethodInvoker
doFindMatchingMethod, findMatchingMethod, getDefaultTypeConverter, getTypeConverter, registerCustomEditor, setTypeConverter从类继承的方法 cn.taketoday.util.ReflectiveMethodInvoker
getArguments, getPreparedMethod, getTargetClass, getTargetMethod, getTargetObject, getTypeDifferenceWeight, invoke, isPrepared, prepare, setArguments, setStaticMethod, setTargetClass, setTargetMethod, setTargetObject
-
构造器详细资料
-
MethodInvokingRunnable
public MethodInvokingRunnable()
-
-
方法详细资料
-
setBeanClassLoader
- 指定者:
setBeanClassLoader在接口中BeanClassLoaderAware
-
resolveClassName
- 覆盖:
resolveClassName在类中cn.taketoday.util.ReflectiveMethodInvoker- 抛出:
ClassNotFoundException
-
afterPropertiesSet
-
run
public void run() -
getInvocationFailureMessage
Build a message for an invocation failure exception.- 返回:
- the error message, including the target method name etc
-