Codota Logo
SchedulerPluginWithUserTransactionSupport.startUserTransaction
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
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

  • Finding current android device location
  • getSharedPreferences (Context)
  • addToBackStack (FragmentTransaction)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • FileInputStream (java.io)
    A FileInputStream obtains input bytes from a file in a file system. What files are available depends
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • Table (org.hibernate.mapping)
    A relational table
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now