Codota Logo
Scheduler.getCascadingClassLoadHelper
Code IndexAdd Codota to your IDE (free)

How to use
getCascadingClassLoadHelper
method
in
org.quartz.core.Scheduler

Best Java code snippets using org.quartz.core.Scheduler.getCascadingClassLoadHelper (Showing top 9 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: com.xeiam/sundial

@Override
public void start() {
 try {
  XMLSchedulingDataProcessor processor = new XMLSchedulingDataProcessor(scheduler.getCascadingClassLoadHelper());
  processor.processFile(XMLSchedulingDataProcessor.QUARTZ_XML_DEFAULT_FILE_NAME, failOnFileNotFound);
  processor.scheduleJobs(getScheduler());
 } catch (Exception e) {
  logger.error("Error scheduling jobs: " + e.getMessage(), e);
 }
}
origin: org.knowm/sundial

@Override
public void start() {
 try {
  XMLSchedulingDataProcessor processor = new XMLSchedulingDataProcessor(scheduler.getCascadingClassLoadHelper());
  processor.processFile(XMLSchedulingDataProcessor.QUARTZ_XML_DEFAULT_FILE_NAME, failOnFileNotFound);
  processor.scheduleJobs(getScheduler());
 } catch (Exception e) {
  logger.error("Error scheduling jobs: " + e.getMessage(), e);
 }
}
origin: knowm/Sundial

@Override
public void start() {
 try {
  XMLSchedulingDataProcessor processor =
    new XMLSchedulingDataProcessor(scheduler.getCascadingClassLoadHelper());
  processor.processFile(
    XMLSchedulingDataProcessor.QUARTZ_XML_DEFAULT_FILE_NAME, failOnFileNotFound);
  processor.scheduleJobs(getScheduler());
 } catch (Exception e) {
  logger.error("Error scheduling jobs: " + e.getMessage(), e);
 }
}
origin: org.knowm/sundial

/**
 * Adds a Job to the scheduler. Replaces a matching existing Job.
 *
 * @param jobName
 * @param jobClassName
 * @param params Set this null if there are no params
 * @param isConcurrencyAllowed
 */
public static void addJob(String jobName, String jobClassName, Map<String, Object> params, boolean isConcurrencyAllowed)
  throws SundialSchedulerException {
 try {
  addJob(jobName, getScheduler().getCascadingClassLoadHelper().loadClass(jobClassName), params, isConcurrencyAllowed);
 } catch (ClassNotFoundException e) {
  throw new SundialSchedulerException("ERROR ADDING JOB!!!", e);
 }
}
origin: knowm/Sundial

/**
 * Adds a Job to the scheduler. Replaces a matching existing Job.
 *
 * @param jobName
 * @param jobClassName
 * @param params Set this null if there are no params
 * @param isConcurrencyAllowed
 */
public static void addJob(
  String jobName, String jobClassName, Map<String, Object> params, boolean isConcurrencyAllowed)
  throws SundialSchedulerException {
 try {
  addJob(
    jobName,
    getScheduler().getCascadingClassLoadHelper().loadClass(jobClassName),
    params,
    isConcurrencyAllowed);
 } catch (ClassNotFoundException e) {
  throw new SundialSchedulerException("ERROR ADDING JOB!!!", e);
 }
}
origin: com.xeiam/sundial

/**
 * Adds a Job to the scheduler. Replaces a matching existing Job.
 *
 * @param jobName
 * @param jobClassName
 * @param params Set this null if there are no params
 * @param isConcurrencyAllowed
 */
public static void addJob(String jobName, String jobClassName, Map<String, Object> params, boolean isConcurrencyAllowed) {
 try {
  Class<? extends Job> jobClass = getScheduler().getCascadingClassLoadHelper().loadClass(jobClassName);
  JobDataMap jobDataMap = new JobDataMap();
  if (params != null) {
   for (Entry<String, Object> entry : params.entrySet()) {
    jobDataMap.put(entry.getKey(), entry.getValue());
   }
  }
  JobDetail jobDetail = newJobBuilder(jobClass).withIdentity(jobName).usingJobData(jobDataMap).isConcurrencyAllowed(isConcurrencyAllowed).build();
  getScheduler().addJob(jobDetail);
 } catch (SchedulerException e) {
  logger.error("ERROR ADDING JOB!!!", e);
 } catch (ClassNotFoundException e) {
  logger.error("ERROR ADDING JOB!!!", e);
 }
}
origin: org.knowm/sundial

Set<Class<? extends Job>> scheduledClasses = scheduler.getCascadingClassLoadHelper().getJobClasses(packageName);
origin: knowm/Sundial

scheduler.getCascadingClassLoadHelper().getJobClasses(packageName);
origin: com.xeiam/sundial

Set<Class<? extends Job>> scheduledClasses = scheduler.getCascadingClassLoadHelper().getJobClasses(packageName);
org.quartz.coreSchedulergetCascadingClassLoadHelper

Popular methods of Scheduler

  • getTrigger
    Get the Trigger instance with the given key. The returned Trigger object will be a snap-shot of the
  • addJob
    Add the given Job to the Scheduler - with no associated Trigger. The Job will be 'dormant' until it
  • deleteJob
    Delete the identified Job from the Scheduler - and any associated Triggers.
  • getCurrentlyExecutingJobs
    Return a list of JobExecutionContext objects that represent all currently executing Jobs in this Sch
  • getJobKeys
    Get the keys of all the org.quartz.jobs.JobDetails in the matching groups.
  • getTriggersOfJob
    Get all Trigger s that are associated with the identified org.quartz.jobs.JobDetail. The returned T
  • rescheduleJob
    Remove (delete) the org.quartz.triggers.OperableTrigger with the given key, and store the new given
  • scheduleJob
    Schedule the given org.quartz.triggers.OperableTrigger with the Job identified by the Trigger's sett
  • shutdown
    Halts the Scheduler's firing of Triggers, and cleans up all resources associated with the Scheduler.
  • start
    Starts the Scheduler's threads that fire Triggers. When a scheduler is first created it is in "stand
  • startDelayed
    Calls {#start()} after the indicated number of seconds. (This call does not block). This can be usef
  • triggerJob
    Trigger the identified org.quartz.jobs.JobDetail (execute it now).
  • startDelayed,
  • triggerJob,
  • unscheduleJob,
  • getListenerManager

Popular in Java

  • Running tasks concurrently on multiple threads
  • setScale (BigDecimal)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • findViewById (Activity)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • JList (javax.swing)
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
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