Class SpincastScheduledTaskFactoryDefault
java.lang.Object
org.spincast.plugins.scheduledtasks.SpincastScheduledTaskFactoryDefault
- All Implemented Interfaces:
org.quartz.spi.JobFactory
,SpincastScheduledTaskFactory
public class SpincastScheduledTaskFactoryDefault
extends Object
implements SpincastScheduledTaskFactory
-
Constructor Summary
ConstructorDescriptionSpincastScheduledTaskFactoryDefault
(com.google.inject.Provider<com.google.inject.Injector> injectorProvider) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.inject.Injector
org.quartz.Job
newJob
(org.quartz.spi.TriggerFiredBundle bundle, org.quartz.Scheduler scheduler)
-
Constructor Details
-
SpincastScheduledTaskFactoryDefault
@Inject public SpincastScheduledTaskFactoryDefault(com.google.inject.Provider<com.google.inject.Injector> injectorProvider)
-
-
Method Details
-
getInjector
public com.google.inject.Injector getInjector() -
newJob
public org.quartz.Job newJob(org.quartz.spi.TriggerFiredBundle bundle, org.quartz.Scheduler scheduler) throws org.quartz.SchedulerException - Specified by:
newJob
in interfaceorg.quartz.spi.JobFactory
- Throws:
org.quartz.SchedulerException
-