Field Detail

logger

resourceLoader

Constructor Detail

SchedulerAccessor

public SchedulerAccessor()

Method Detail

setOverwriteExistingJobs

public void setOverwriteExistingJobs(boolean overwriteExistingJobs)

Set whether any jobs defined on this SchedulerFactoryBean should overwrite
existing job definitions. Default is "false", to not overwrite already
registered jobs that have been read in from a persistent job store.

setJobSchedulingDataLocation

Set the location of a Quartz job definition XML file that follows the
"job_scheduling_data_1_5" XSD. Can be specified to automatically
register jobs that are defined in such a file, possibly in addition
to jobs defined directly on this SchedulerFactoryBean.

See Also:

org.quartz.xml.JobSchedulingDataProcessor

setJobSchedulingDataLocations

Set the locations of Quartz job definition XML files that follow the
"job_scheduling_data_1_5" XSD. Can be specified to automatically
register jobs that are defined in such files, possibly in addition
to jobs defined directly on this SchedulerFactoryBean.

See Also:

org.quartz.xml.JobSchedulingDataProcessor

setJobDetails

public void setJobDetails(org.quartz.JobDetail[] jobDetails)

Register a list of JobDetail objects with the Scheduler that
this FactoryBean creates, to be referenced by Triggers.

This is not necessary when a Trigger determines the JobDetail
itself: In this case, the JobDetail will be implicitly registered
in combination with the Trigger.

setCalendars

Register a list of Quartz Calendar objects with the Scheduler
that this FactoryBean creates, to be referenced by Triggers.

Parameters:

calendars - Map with calendar names as keys as Calendar
objects as values

See Also:

Calendar,
Trigger.setCalendarName(java.lang.String)

setTriggers

public void setTriggers(org.quartz.Trigger[] triggers)

Register a list of Trigger objects with the Scheduler that
this FactoryBean creates.

If the Trigger determines the corresponding JobDetail itself,
the job will be automatically registered with the Scheduler.
Else, the respective JobDetail needs to be registered via the
"jobDetails" property of this FactoryBean.

setTransactionManager

Set the transaction manager to be used for registering jobs and triggers
that are defined by this SchedulerFactoryBean. Default is none; setting
this only makes sense when specifying a DataSource for the Scheduler.

setResourceLoader

This might be a ResourcePatternResolver, which can be checked
through instanceof ResourcePatternResolver. See also the
ResourcePatternUtils.getResourcePatternResolver method.

Invoked after population of normal bean properties but before an init callback
like InitializingBean's afterPropertiesSet or a custom init-method.
Invoked before ApplicationContextAware's setApplicationContext.