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(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(TriggerFiredBundle bundle)
                              throws SchedulerException

Called by the QuartzSchedulerThread to obtain instances of JobRunShell.

Throws:
SchedulerException


Copyright 2001-2015, Terracotta, Inc.