public class ManagedScheduledJobTriggerFactory extends Object implements ManagedScheduleJobRegistrationService, ManagedTriggerFactory
Any ManagedScheduledJob registered before initialisation will not be constructed at registration time, instead they will be constructed at initialisation time.
Modifier | Constructor and Description |
---|---|
protected |
ManagedScheduledJobTriggerFactory()
Required for CGLIB to be able to successfully proxy.
|
|
ManagedScheduledJobTriggerFactory(org.quartz.Scheduler scheduler,
ScheduledJobDao scheduledJobDAO,
DefaultManagedScheduledJobRegistry registry,
org.quartz.JobListener listener,
CronTriggerFactory cronTriggerFactory,
SimpleTriggerFactory simpleTriggerFactory) |
Modifier and Type | Method and Description |
---|---|
void |
initialiseTriggers()
Creates and schedules the triggers with the scheduler.
|
void |
registerManagedScheduledJob(ManagedScheduledJob managedScheduledJob)
For registering of additional ManagedScheduledJob's (e.g.
|
void |
unregisterManagedScheduledJob(ManagedScheduledJob managedScheduledJob)
For unregistering of a previously registered ManagedScheduledJob's (e.g.
|
protected ManagedScheduledJobTriggerFactory()
public ManagedScheduledJobTriggerFactory(org.quartz.Scheduler scheduler, ScheduledJobDao scheduledJobDAO, DefaultManagedScheduledJobRegistry registry, org.quartz.JobListener listener, CronTriggerFactory cronTriggerFactory, SimpleTriggerFactory simpleTriggerFactory)
public void initialiseTriggers()
ManagedTriggerFactory
initialiseTriggers
in interface ManagedTriggerFactory
public void registerManagedScheduledJob(ManagedScheduledJob managedScheduledJob)
registerManagedScheduledJob
in interface ManagedScheduleJobRegistrationService
managedScheduledJob
- the job to registerpublic void unregisterManagedScheduledJob(ManagedScheduledJob managedScheduledJob)
Job will be unscheduled and unloaded. No historical information will be removed.
unregisterManagedScheduledJob
in interface ManagedScheduleJobRegistrationService
managedScheduledJob
- the job to unregisterCopyright © 2003–2016 Atlassian. All rights reserved.