JobRunShellFactory (Quartz Parent POM 2.0.1 API)

Quartz Java



org.quartz.core Interface JobRunShellFactory

All Known Implementing Classes:
JTAAnnotationAwareJobRunShellFactory, JTAJobRunShellFactory, StdJobRunShellFactory

public interface JobRunShellFactory

Responsible for creating the instances of JobRunShell to be used within the QuartzScheduler instance.

Author:
James House

Method Summary
 JobRunShell createJobRunShell(org.quartz.spi.TriggerFiredBundle bundle)
           Called by the QuartzSchedulerThread to obtain instances of JobRunShell.
 void initialize(Scheduler scheduler)
           Initialize the factory, providing a handle to the Scheduler that should be made available within the JobRunShell and the JobExecutionContext s within it.
 

Method Detail

initialize

void initialize(Scheduler scheduler)
                throws SchedulerConfigException

Initialize the factory, providing a handle to the Scheduler that should be made available within the JobRunShell and the JobExecutionContext s within it.

Throws:
SchedulerConfigException

createJobRunShell

JobRunShell createJobRunShell(org.quartz.spi.TriggerFiredBundle bundle)
                              throws SchedulerException

Called by the QuartzSchedulerThread to obtain instances of JobRunShell.

Throws:
SchedulerException


Copyright 2001-2011, Terracotta, Inc.