public class MethodInvokingRunnable
extends org.springframework.beans.support.ArgumentConvertingMethodInvoker
implements java.lang.Runnable, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.InitializingBean
Runnable interface as a configurable
method invocation based on Spring's MethodInvoker.
Inherits common configuration properties from
MethodInvoker.
Executor.execute(Runnable)| Constructor and Description |
|---|
MethodInvokingRunnable() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected java.lang.String |
getInvocationFailureMessage()
Build a message for an invocation failure exception.
|
protected java.lang.Class<?> |
resolveClassName(java.lang.String className) |
void |
run() |
void |
setBeanClassLoader(java.lang.ClassLoader classLoader) |
doFindMatchingMethod, findMatchingMethod, getDefaultTypeConverter, getTypeConverter, registerCustomEditor, setTypeConverterprotected final Log logger
public void setBeanClassLoader(java.lang.ClassLoader classLoader)
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAwareprotected java.lang.Class<?> resolveClassName(java.lang.String className)
throws java.lang.ClassNotFoundException
resolveClassName in class org.springframework.util.MethodInvokerjava.lang.ClassNotFoundExceptionpublic void afterPropertiesSet()
throws java.lang.ClassNotFoundException,
java.lang.NoSuchMethodException
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.ClassNotFoundExceptionjava.lang.NoSuchMethodExceptionpublic void run()
run in interface java.lang.Runnableprotected java.lang.String getInvocationFailureMessage()