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, setTypeConverter
protected final Log logger
public void setBeanClassLoader(java.lang.ClassLoader classLoader)
setBeanClassLoader
in interface org.springframework.beans.factory.BeanClassLoaderAware
protected java.lang.Class<?> resolveClassName(java.lang.String className) throws java.lang.ClassNotFoundException
resolveClassName
in class org.springframework.util.MethodInvoker
java.lang.ClassNotFoundException
public void afterPropertiesSet() throws java.lang.ClassNotFoundException, java.lang.NoSuchMethodException
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
public void run()
run
in interface java.lang.Runnable
protected java.lang.String getInvocationFailureMessage()