Interface SchedulerContextAware
- All Superinterfaces:
Aware
- All Known Implementing Classes:
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.
- Since:
- 2.0
- Author:
- Juergen Hoeller, Chris Beams
- See Also:
JobFactory
,SchedulerFactoryBean.setJobFactory(org.quartz.spi.JobFactory)
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setSchedulerContext(SchedulerContext schedulerContext)
Set the SchedulerContext of the current Quartz Scheduler.
Method Detail
setSchedulerContext
void setSchedulerContext(SchedulerContext schedulerContext)
Set the SchedulerContext of the current Quartz Scheduler.- See Also:
Scheduler.getContext()