|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quartz.ee.jta.JTAJobRunShellFactory
Responsible for creating the instances of
to be used within the JTAJobRunShellQuartzScheduler instance.
This implementation does not re-use any objects, it simply makes a new
JTAJobRunShell each time borrowJobRunShell() is called.
| Constructor Summary | |
JTAJobRunShellFactory(UserTransactionHelper userTxHelper)
|
|
| Method Summary | |
JobRunShell |
borrowJobRunShell()
Called by the QuartzSchedulerThread to obtain
instances of . |
void |
initialize(Scheduler scheduler,
SchedulingContext schedCtxt)
Initialize the factory, providing a handle to the Scheduler
that should be made available within the JobRunShell and the
JobExecutionContexts within it, and a handle to the
SchedulingContext that the shell will use in its own
operations with the JobStore. |
void |
returnJobRunShell(JobRunShell jobRunShell)
Called by the QuartzSchedulerThread to return
instances of . |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JTAJobRunShellFactory(UserTransactionHelper userTxHelper)
| Method Detail |
public void initialize(Scheduler scheduler,
SchedulingContext schedCtxt)
throws SchedulerConfigException
Initialize the factory, providing a handle to the Scheduler
that should be made available within the JobRunShell and the
JobExecutionContexts within it, and a handle to the
SchedulingContext that the shell will use in its own
operations with the JobStore.
initialize in interface JobRunShellFactorySchedulerConfigExceptionpublic JobRunShell borrowJobRunShell()
Called by the QuartzSchedulerThread to obtain
instances of .JobRunShell
borrowJobRunShell in interface JobRunShellFactorypublic void returnJobRunShell(JobRunShell jobRunShell)
Called by the QuartzSchedulerThread to return
instances of .JobRunShell
returnJobRunShell in interface JobRunShellFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||