Class JTAAnnotationAwareJobRunShellFactory

  • All Implemented Interfaces:
    JobRunShellFactory

    public class JTAAnnotationAwareJobRunShellFactory
    extends java.lang.Object
    implements JobRunShellFactory

    Responsible for creating the instances of a JobRunShell to be used within the QuartzScheduler instance. It will create a standard JobRunShell unless the job class has the ExecuteInJTATransaction annotation in which case it will create a JTAJobRunShell.

    This implementation does not re-use any objects, it simply makes a new JTAJobRunShell each time borrowJobRunShell() is called.

    Author:
    James House