congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
SchedulerPluginWithUserTransactionSupport.startUserTransaction
Code IndexAdd Tabnine to your IDE (free)

How to use
startUserTransaction
method
in
org.quartz.plugins.SchedulerPluginWithUserTransactionSupport

Best Java code snippets using org.quartz.plugins.SchedulerPluginWithUserTransactionSupport.startUserTransaction (Showing top 8 results out of 315)

origin: quartz-scheduler/quartz

/**
 * Based on the value of <em>wrapInUserTransaction</em>, wraps the
 * call to start(UserTransaction) in a UserTransaction.
 */
public void start() {
  UserTransaction userTransaction = startUserTransaction();
  try {
    start(userTransaction);
  } finally {
    resolveUserTransaction(userTransaction);
  }
}
origin: quartz-scheduler/quartz

/**
 * Based on the value of <em>wrapInUserTransaction</em>, wraps the
 * call to shutdown(UserTransaction) in a UserTransaction.
 */
public void shutdown() {
  UserTransaction userTransaction = startUserTransaction();
  try {
    shutdown(userTransaction);
  } finally {
    resolveUserTransaction(userTransaction);
  }
}
  
origin: quartz-scheduler/quartz

/**
 * Based on the value of <em>wrapInUserTransaction</em>, wraps the
 * call to shutdown(UserTransaction) in a UserTransaction.
 */
public void shutdown() {
  UserTransaction userTransaction = startUserTransaction();
  try {
    shutdown(userTransaction);
  } finally {
    resolveUserTransaction(userTransaction);
  }
}
  
origin: quartz-scheduler/quartz

/**
 * Based on the value of <em>wrapInUserTransaction</em>, wraps the
 * call to start(UserTransaction) in a UserTransaction.
 */
public void start() {
  UserTransaction userTransaction = startUserTransaction();
  try {
    start(userTransaction);
  } finally {
    resolveUserTransaction(userTransaction);
  }
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * Based on the value of <em>wrapInUserTransaction</em>, wraps the
 * call to start(UserTransaction) in a UserTransaction.
 */
public void start() {
  UserTransaction userTransaction = startUserTransaction();
  try {
    start(userTransaction);
  } finally {
    resolveUserTransaction(userTransaction);
  }
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * Based on the value of <em>wrapInUserTransaction</em>, wraps the
 * call to shutdown(UserTransaction) in a UserTransaction.
 */
public void shutdown() {
  UserTransaction userTransaction = startUserTransaction();
  try {
    shutdown(userTransaction);
  } finally {
    resolveUserTransaction(userTransaction);
  }
}
  
origin: quartz/quartz-all

/**
 * Based on the value of <em>wrapInUserTransaction</em>, wraps the
 * call to start(UserTransaction) in a UserTransaction.
 */
public void start() {
  UserTransaction userTransaction = startUserTransaction();
  try {
    start(userTransaction);
  } finally {
    resolveUserTransaction(userTransaction);
  }
}
origin: quartz/quartz-all

/**
 * Based on the value of <em>wrapInUserTransaction</em>, wraps the
 * call to shutdown(UserTransaction) in a UserTransaction.
 */
public void shutdown() {
  UserTransaction userTransaction = startUserTransaction();
  try {
    shutdown(userTransaction);
  } finally {
    resolveUserTransaction(userTransaction);
  }
}
  
org.quartz.pluginsSchedulerPluginWithUserTransactionSupportstartUserTransaction

Javadoc

If wrapInUserTransaction is true, starts a new UserTransaction and returns it. Otherwise, or if establishing the transaction fail, it will return null.

Popular methods of SchedulerPluginWithUserTransactionSupport

  • getLog
    Get the commons Logger for this class.
  • getName
    Get the name of this plugin. Set as part of initialize().
  • initialize
  • resolveUserTransaction
    If the given UserTransaction is not null, it is committed/rolledback, and then returned to the UserT
  • shutdown
    Called in order to inform the SchedulerPlugin that it should free up all of it's resources because
  • start
    Called when the associated Scheduler is started, in order to let the plug-in know it can now make c

Popular in Java

  • Creating JSON documents from java classes using gson
  • getApplicationContext (Context)
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • BoxLayout (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • 21 Best IntelliJ Plugins
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