类 ScheduledMethodRunnable
- java.lang.Object
- org.springframework.scheduling.support.ScheduledMethodRunnable
- 所有已实现的接口:
Runnable
public class ScheduledMethodRunnable extends Object implements Runnable
Variant ofMethodInvokingRunnable
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.- 从以下版本开始:
- 3.0.6
- 作者:
- Juergen Hoeller
- 另请参阅:
ScheduledAnnotationBeanPostProcessor
构造器详细资料
ScheduledMethodRunnable
public ScheduledMethodRunnable(Object target, Method method)
ScheduledMethodRunnable
public ScheduledMethodRunnable(Object target, String methodName) throws NoSuchMethodException