|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.radman.service.job.scheduler.internal.OSGiJobFactory
public final class OSGiJobFactory
| Constructor Summary | |
|---|---|
OSGiJobFactory()
|
|
| Method Summary | |
|---|---|
org.quartz.Job |
newJob(org.quartz.spi.TriggerFiredBundle bundle)
Called by the scheduler at the time of the trigger firing, in order to produce a Job instance on which to call execute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OSGiJobFactory()
| Method Detail |
|---|
public org.quartz.Job newJob(org.quartz.spi.TriggerFiredBundle bundle)
throws org.quartz.SchedulerException
Job instance on which to call execute.
It should be extremely rare for this method to throw an exception -
basically only the the case where there is no way at all to instantiate
and prepare the Job for execution. When the exception is thrown, the
Scheduler will move all triggers associated with the Job into the
Trigger.STATE_ERROR state, which will require human
intervention (e.g. an application restart after fixing whatever
configuration problem led to the issue wih instantiating the Job.
newJob in interface org.quartz.spi.JobFactorybundle - The TriggerFiredBundle from which the JobDetail
and other info relating to the trigger firing can be obtained.
org.quartz.SchedulerException - if there is a problem instantiating the Job.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||