congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
JTAJobRunShell.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.quartz.ee.jta.JTAJobRunShell
constructor

Best Java code snippets using org.quartz.ee.jta.JTAJobRunShell.<init> (Showing top 6 results out of 315)

origin: quartz-scheduler/quartz

/**
 * <p>
 * Called by the <class>{@link org.quartz.core.QuartzSchedulerThread}
 * </code> to obtain instances of <code>
 * {@link org.quartz.core.JobRunShell}</code>.
 * </p>
 */
public JobRunShell createJobRunShell(TriggerFiredBundle bundle)
    throws SchedulerException {
  return new JTAJobRunShell(scheduler, bundle);
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Called by the <class>{@link org.quartz.core.QuartzSchedulerThread}
 * </code> to obtain instances of <code>
 * {@link org.quartz.core.JobRunShell}</code>.
 * </p>
 */
public JobRunShell createJobRunShell(TriggerFiredBundle bundle)
    throws SchedulerException {
  return new JTAJobRunShell(scheduler, bundle);
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Called by the <class>{@link org.quartz.core.QuartzSchedulerThread}
 * </code> to obtain instances of <code>
 * {@link org.quartz.core.JobRunShell}</code>.
 * </p>
 */
public JobRunShell createJobRunShell(TriggerFiredBundle bundle)
    throws SchedulerException {
  ExecuteInJTATransaction jtaAnnotation = ClassUtils.getAnnotation(bundle.getJobDetail().getJobClass(), ExecuteInJTATransaction.class);
  if(jtaAnnotation == null)
    return new JobRunShell(scheduler, bundle);
  else {
    int timeout = jtaAnnotation.timeout();
    if (timeout >= 0) {
      return new JTAJobRunShell(scheduler, bundle, timeout);
    } else {
      return new JTAJobRunShell(scheduler, bundle);
    }
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Called by the <class>{@link org.quartz.core.QuartzSchedulerThread}
 * </code> to obtain instances of <code>
 * {@link org.quartz.core.JobRunShell}</code>.
 * </p>
 */
public JobRunShell createJobRunShell(TriggerFiredBundle bundle)
    throws SchedulerException {
  ExecuteInJTATransaction jtaAnnotation = ClassUtils.getAnnotation(bundle.getJobDetail().getJobClass(), ExecuteInJTATransaction.class);
  if(jtaAnnotation == null)
    return new JobRunShell(scheduler, bundle);
  else {
    int timeout = jtaAnnotation.timeout();
    if (timeout >= 0) {
      return new JTAJobRunShell(scheduler, bundle, timeout);
    } else {
      return new JTAJobRunShell(scheduler, bundle);
    }
  }
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * <p>
 * Called by the <class>{@link org.quartz.core.QuartzSchedulerThread}
 * </code> to obtain instances of <code>
 * {@link org.quartz.core.JobRunShell}</code>.
 * </p>
 */
public JobRunShell borrowJobRunShell() {
  return new JTAJobRunShell(this, scheduler, schedCtxt);
}
origin: quartz/quartz-all

/**
 * <p>
 * Called by the <class>{@link org.quartz.core.QuartzSchedulerThread}
 * </code> to obtain instances of <code>
 * {@link org.quartz.core.JobRunShell}</code>.
 * </p>
 */
public JobRunShell borrowJobRunShell() {
  return new JTAJobRunShell(this, scheduler, schedCtxt);
}
org.quartz.ee.jtaJTAJobRunShell<init>

Javadoc

Create a JTAJobRunShell instance with the given settings.

Popular methods of JTAJobRunShell

  • cleanupUserTransaction
  • getLog

Popular in Java

  • Creating JSON documents from java classes using gson
  • onRequestPermissionsResult (Fragment)
  • getSystemService (Context)
  • startActivity (Activity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • JOptionPane (javax.swing)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now