public class MethodInvokingRunnable extends org.springframework.beans.support.ArgumentConvertingMethodInvoker implements 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 String |
getInvocationFailureMessage()
Build a message for an invocation failure exception.
|
protected Class<?> |
resolveClassName(String className) |
void |
run() |
void |
setBeanClassLoader(ClassLoader classLoader) |
doFindMatchingMethod, findMatchingMethod, getDefaultTypeConverter, getTypeConverter, registerCustomEditor, setTypeConverterprotected final Log logger
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAwareprotected Class<?> resolveClassName(String className) throws ClassNotFoundException
resolveClassName in class org.springframework.util.MethodInvokerClassNotFoundExceptionpublic void afterPropertiesSet()
throws ClassNotFoundException,
NoSuchMethodException
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanClassNotFoundExceptionNoSuchMethodExceptionprotected String getInvocationFailureMessage()