TorqueBox 3.1.2

org.torquebox.jobs
Class JobScheduler

java.lang.Object
  extended by org.projectodd.polyglot.jobs.BaseJobScheduler
      extended by org.torquebox.jobs.JobScheduler
All Implemented Interfaces:
org.jboss.msc.service.Service<org.projectodd.polyglot.jobs.BaseJobScheduler>, org.jboss.msc.value.Value<org.projectodd.polyglot.jobs.BaseJobScheduler>, org.projectodd.polyglot.core.StartState, org.quartz.spi.JobFactory

public class JobScheduler
extends org.projectodd.polyglot.jobs.BaseJobScheduler
implements org.quartz.spi.JobFactory


Field Summary
 
Fields inherited from interface org.jboss.msc.service.Service
NULL, NULL_VALUE
 
Constructor Summary
JobScheduler(String name, int threadCount)
           
 
Method Summary
 void addComponentResolver(org.quartz.JobKey key, ComponentResolver resolver)
           
 org.jboss.msc.inject.Injector<RubyRuntimePool> getRubyRuntimePoolInjector()
           
 org.quartz.Job newJob(org.quartz.spi.TriggerFiredBundle bundle, org.quartz.Scheduler scheduler)
           
 void start()
           
 
Methods inherited from class org.projectodd.polyglot.jobs.BaseJobScheduler
getJobFactory, getName, getScheduler, getThreadCount, getValue, hasStartedAtLeastOnce, isStarted, setJobFactory, setThreadCount, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobScheduler

public JobScheduler(String name,
                    int threadCount)
Method Detail

newJob

public org.quartz.Job newJob(org.quartz.spi.TriggerFiredBundle bundle,
                             org.quartz.Scheduler scheduler)
                      throws org.quartz.SchedulerException
Specified by:
newJob in interface org.quartz.spi.JobFactory
Throws:
org.quartz.SchedulerException

start

public void start()
           throws IOException,
                  org.quartz.SchedulerException
Overrides:
start in class org.projectodd.polyglot.jobs.BaseJobScheduler
Throws:
IOException
org.quartz.SchedulerException

addComponentResolver

public void addComponentResolver(org.quartz.JobKey key,
                                 ComponentResolver resolver)

getRubyRuntimePoolInjector

public org.jboss.msc.inject.Injector<RubyRuntimePool> getRubyRuntimePoolInjector()

TorqueBox 3.1.2

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.