接口 SchedulerContextAware
- 所有超级接口:
Aware
- 所有已知实现类:
SpringBeanJobFactory
public interface SchedulerContextAware extends Aware
Callback interface to be implemented by Spring-managed Quartz artifacts that need access to the SchedulerContext (without having natural access to it).Currently only supported for custom JobFactory implementations that are passed in via Spring's SchedulerFactoryBean.
- 从以下版本开始:
- 2.0
- 作者:
- Juergen Hoeller, Chris Beams
- 另请参阅:
JobFactory
,SchedulerFactoryBean.setJobFactory(org.quartz.spi.JobFactory)
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
setSchedulerContext(SchedulerContext schedulerContext)
Set the SchedulerContext of the current Quartz Scheduler.
方法详细资料
setSchedulerContext
void setSchedulerContext(SchedulerContext schedulerContext)
Set the SchedulerContext of the current Quartz Scheduler.