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) |
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