类 MethodInvokingJobDetailFactoryBean.MethodInvokingJob
- java.lang.Object
- org.springframework.scheduling.quartz.QuartzJobBean
- org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.MethodInvokingJob
- 所有已实现的接口:
Job
public static class MethodInvokingJobDetailFactoryBean.MethodInvokingJob extends QuartzJobBean
Quartz Job implementation that invokes a specified method. Automatically applied by MethodInvokingJobDetailFactoryBean.
构造器概要
构造器 构造器 说明 MethodInvokingJob()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected void
executeInternal(JobExecutionContext context)
Invoke the method via the MethodInvoker.void
setMethodInvoker(MethodInvoker methodInvoker)
Set the MethodInvoker to use.从类继承的方法 org.springframework.scheduling.quartz.QuartzJobBean
execute
构造器详细资料
MethodInvokingJob
public MethodInvokingJob()
方法详细资料
setMethodInvoker
public void setMethodInvoker(MethodInvoker methodInvoker)
Set the MethodInvoker to use.
executeInternal
protected void executeInternal(JobExecutionContext context) throws JobExecutionException
Invoke the method via the MethodInvoker.