org.objectweb.easybeans.component.quartz
Class EasyBeansJob

java.lang.Object
  extended by org.objectweb.easybeans.component.quartz.EasyBeansJob
All Implemented Interfaces:
org.quartz.Job

public class EasyBeansJob
extends java.lang.Object
implements org.quartz.Job

This class will receive a job execution context and then call the bean method. The parameters are stored in the Job Execution Context

Author:
Florent Benoit

Constructor Summary
EasyBeansJob()
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext context)
          Invoke the factory with the timer object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EasyBeansJob

public EasyBeansJob()
Method Detail

execute

public void execute(org.quartz.JobExecutionContext context)
             throws org.quartz.JobExecutionException
Invoke the factory with the timer object.

Specified by:
execute in interface org.quartz.Job
Parameters:
context - the context containing the stuff in order to call the Bean's factory and the associated timeout method.
Throws:
org.quartz.JobExecutionException - if there is an exception while executing the job.