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

How to use
selectJobDetail
method
in
org.quartz.impl.jdbcjobstore.DriverDelegate

Best Java code snippets using org.quartz.impl.jdbcjobstore.DriverDelegate.selectJobDetail (Showing top 6 results out of 315)

origin: quartz-scheduler/quartz

protected JobDetail retrieveJob(Connection conn, JobKey key) throws JobPersistenceException {
  try {
    return getDelegate().selectJobDetail(conn, key,
        getClassLoadHelper());
  } catch (ClassNotFoundException e) {
    throw new JobPersistenceException(
        "Couldn't retrieve job because a required class was not found: "
            + e.getMessage(), e);
  } catch (IOException e) {
    throw new JobPersistenceException(
        "Couldn't retrieve job because the BLOB couldn't be deserialized: "
            + e.getMessage(), e);
  } catch (SQLException e) {
    throw new JobPersistenceException("Couldn't retrieve job: "
        + e.getMessage(), e);
  }
}
origin: quartz-scheduler/quartz

protected JobDetail retrieveJob(Connection conn, JobKey key) throws JobPersistenceException {
  try {
    return getDelegate().selectJobDetail(conn, key,
        getClassLoadHelper());
  } catch (ClassNotFoundException e) {
    throw new JobPersistenceException(
        "Couldn't retrieve job because a required class was not found: "
            + e.getMessage(), e);
  } catch (IOException e) {
    throw new JobPersistenceException(
        "Couldn't retrieve job because the BLOB couldn't be deserialized: "
            + e.getMessage(), e);
  } catch (SQLException e) {
    throw new JobPersistenceException("Couldn't retrieve job: "
        + e.getMessage(), e);
  }
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

protected JobDetail retrieveJob(Connection conn, SchedulingContext ctxt,
    String jobName, String groupName) throws JobPersistenceException {
  try {
    JobDetail job = getDelegate().selectJobDetail(conn, jobName,
        groupName, getClassLoadHelper());
    if (job != null) {
      String[] listeners = getDelegate().selectJobListeners(conn,
          jobName, groupName);
      for (int i = 0; i < listeners.length; ++i) {
        job.addJobListener(listeners[i]);
      }
    }
    return job;
  } catch (ClassNotFoundException e) {
    throw new JobPersistenceException(
        "Couldn't retrieve job because a required class was not found: "
            + e.getMessage(), e,
        SchedulerException.ERR_PERSISTENCE_JOB_DOES_NOT_EXIST);
  } catch (IOException e) {
    throw new JobPersistenceException(
        "Couldn't retrieve job because the BLOB couldn't be deserialized: "
            + e.getMessage(), e,
        SchedulerException.ERR_PERSISTENCE_JOB_DOES_NOT_EXIST);
  } catch (SQLException e) {
    throw new JobPersistenceException("Couldn't retrieve job: "
        + e.getMessage(), e);
  }
}
origin: quartz/quartz-all

protected JobDetail retrieveJob(Connection conn, SchedulingContext ctxt,
    String jobName, String groupName) throws JobPersistenceException {
  try {
    JobDetail job = getDelegate().selectJobDetail(conn, jobName,
        groupName, getClassLoadHelper());
    if (job != null) {
      String[] listeners = getDelegate().selectJobListeners(conn,
          jobName, groupName);
      for (int i = 0; i < listeners.length; ++i) {
        job.addJobListener(listeners[i]);
      }
    }
    return job;
  } catch (ClassNotFoundException e) {
    throw new JobPersistenceException(
        "Couldn't retrieve job because a required class was not found: "
            + e.getMessage(), e,
        SchedulerException.ERR_PERSISTENCE_JOB_DOES_NOT_EXIST);
  } catch (IOException e) {
    throw new JobPersistenceException(
        "Couldn't retrieve job because the BLOB couldn't be deserialized: "
            + e.getMessage(), e,
        SchedulerException.ERR_PERSISTENCE_JOB_DOES_NOT_EXIST);
  } catch (SQLException e) {
    throw new JobPersistenceException("Couldn't retrieve job: "
        + e.getMessage(), e);
  }
}
origin: quartz/quartz-all

job = getDelegate().selectJobDetail(conn,
  newTrigger.getJobName(), newTrigger.getJobGroup(),
  getClassLoadHelper());
origin: com.opensymphony.quartz/com.springsource.org.quartz

job = getDelegate().selectJobDetail(conn,
  newTrigger.getJobName(), newTrigger.getJobGroup(),
  getClassLoadHelper());
org.quartz.impl.jdbcjobstoreDriverDelegateselectJobDetail

Javadoc

Select the JobDetail object for a given job name / group name.

Popular methods of DriverDelegate

  • calendarExists
    Check whether or not a calendar exists.
  • calendarIsReferenced
    Check whether or not a calendar is referenced by any triggers.
  • deleteCalendar
    Delete a calendar.
  • deleteFiredTrigger
    Delete a fired trigger.
  • deleteFiredTriggers
    Delete all fired triggers of the given instance.
  • deleteJobDetail
    Delete the job detail record for the given job.
  • deletePausedTriggerGroup
  • deleteSchedulerState
    Delete a scheduler-instance state record.
  • deleteTrigger
    Delete the base trigger data for a trigger.
  • insertCalendar
    Insert a new calendar.
  • insertFiredTrigger
    Insert a fired trigger.
  • insertJobDetail
    Insert the job detail record.
  • insertFiredTrigger,
  • insertJobDetail,
  • insertPausedTriggerGroup,
  • insertSchedulerState,
  • insertTrigger,
  • isTriggerGroupPaused,
  • jobExists,
  • selectCalendar,
  • selectCalendars,
  • selectFiredTriggerInstanceNames

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Table (org.hibernate.mapping)
    A relational table
  • PhpStorm for WordPress
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