Package com.axelor.quartz
Class GuiceJobRunShellFactory
- java.lang.Object
-
- com.axelor.quartz.GuiceJobRunShellFactory
-
- All Implemented Interfaces:
JobRunShellFactory
public class GuiceJobRunShellFactory extends Object implements JobRunShellFactory
CustomJobRunShellFactory
to useGuiceJobRunShell
.
-
-
Constructor Summary
Constructors Constructor Description GuiceJobRunShellFactory(QuartzSchedulerResources resources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobRunShell
createJobRunShell(TriggerFiredBundle bundle)
void
initialize(Scheduler scheduler)
-
-
-
Constructor Detail
-
GuiceJobRunShellFactory
public GuiceJobRunShellFactory(QuartzSchedulerResources resources)
-
-
Method Detail
-
initialize
public void initialize(Scheduler scheduler) throws SchedulerConfigException
- Specified by:
initialize
in interfaceJobRunShellFactory
- Throws:
SchedulerConfigException
-
createJobRunShell
public JobRunShell createJobRunShell(TriggerFiredBundle bundle) throws SchedulerException
- Specified by:
createJobRunShell
in interfaceJobRunShellFactory
- Throws:
SchedulerException
-
-