public class ScheduledMethodRunnable
extends java.lang.Object
implements java.lang.Runnable
MethodInvokingRunnable meant to be used for processing
of no-arg scheduled methods. Propagates user exceptions to the caller,
assuming that an error strategy for Runnables is in place.ScheduledAnnotationBeanPostProcessor| Constructor and Description |
|---|
ScheduledMethodRunnable(java.lang.Object target,
java.lang.reflect.Method method) |
ScheduledMethodRunnable(java.lang.Object target,
java.lang.String methodName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.reflect.Method |
getMethod() |
java.lang.Object |
getTarget() |
void |
run() |
public ScheduledMethodRunnable(java.lang.Object target,
java.lang.reflect.Method method)
public ScheduledMethodRunnable(java.lang.Object target,
java.lang.String methodName)
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException