TorqueBox 3.1.2

org.torquebox.jobs
Class RubyJobProxy

java.lang.Object
  extended by org.projectodd.polyglot.jobs.NotifiableJob
      extended by org.torquebox.jobs.RubyJobProxy
All Implemented Interfaces:
org.quartz.InterruptableJob, org.quartz.Job, org.quartz.StatefulJob

public class RubyJobProxy
extends org.projectodd.polyglot.jobs.NotifiableJob
implements org.quartz.Job, org.quartz.StatefulJob, org.quartz.InterruptableJob


Field Summary
 
Fields inherited from class org.projectodd.polyglot.jobs.NotifiableJob
jobKey
 
Constructor Summary
RubyJobProxy(RubyRuntimePool runtimePool, ComponentResolver resolver, org.quartz.JobDetail detail)
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext context)
           
 JobComponent getComponent()
           
 void interrupt()
           
 
Methods inherited from class org.projectodd.polyglot.jobs.NotifiableJob
addListener, getJobKey, notifyError, notifyFinished, notifyInterrupted, notifyStarted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RubyJobProxy

public RubyJobProxy(RubyRuntimePool runtimePool,
                    ComponentResolver resolver,
                    org.quartz.JobDetail detail)
Method Detail

execute

public void execute(org.quartz.JobExecutionContext context)
             throws org.quartz.JobExecutionException
Specified by:
execute in interface org.quartz.Job
Throws:
org.quartz.JobExecutionException

interrupt

public void interrupt()
               throws org.quartz.UnableToInterruptJobException
Specified by:
interrupt in interface org.quartz.InterruptableJob
Throws:
org.quartz.UnableToInterruptJobException

getComponent

public JobComponent getComponent()

TorqueBox 3.1.2

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