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)| 构造器和说明 |
|---|
MethodInvokingRunnable() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 org.springframework.beans.factory.BeanClassLoaderAwareprotected Class<?> resolveClassName(String className) throws ClassNotFoundException
resolveClassName 在类中 org.springframework.util.MethodInvokerClassNotFoundExceptionpublic void afterPropertiesSet()
throws ClassNotFoundException,
NoSuchMethodException
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanClassNotFoundExceptionNoSuchMethodExceptionprotected String getInvocationFailureMessage()