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