congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
JobStoreSupport$ClusterManager.setContextClassLoader
Code IndexAdd Tabnine to your IDE (free)

How to use
setContextClassLoader
method
in
org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager

Best Java code snippets using org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.setContextClassLoader (Showing top 4 results out of 315)

origin: quartz-scheduler/quartz

/**
 * @see org.quartz.spi.JobStore#schedulerStarted()
 */
public void schedulerStarted() throws SchedulerException {
  if (isClustered()) {
    clusterManagementThread = new ClusterManager();
    if(initializersLoader != null)
      clusterManagementThread.setContextClassLoader(initializersLoader);
    clusterManagementThread.initialize();
  } else {
    try {
      recoverJobs();
    } catch (SchedulerException se) {
      throw new SchedulerConfigException(
          "Failure occured during job recovery.", se);
    }
  }
  misfireHandler = new MisfireHandler();
  if(initializersLoader != null)
    misfireHandler.setContextClassLoader(initializersLoader);
  misfireHandler.initialize();
  schedulerRunning = true;
  
  getLog().debug("JobStore background threads started (as scheduler was started).");
}

origin: quartz-scheduler/quartz

/**
 * @see org.quartz.spi.JobStore#schedulerStarted()
 */
public void schedulerStarted() throws SchedulerException {
  if (isClustered()) {
    clusterManagementThread = new ClusterManager();
    if(initializersLoader != null)
      clusterManagementThread.setContextClassLoader(initializersLoader);
    clusterManagementThread.initialize();
  } else {
    try {
      recoverJobs();
    } catch (SchedulerException se) {
      throw new SchedulerConfigException(
          "Failure occured during job recovery.", se);
    }
  }
  misfireHandler = new MisfireHandler();
  if(initializersLoader != null)
    misfireHandler.setContextClassLoader(initializersLoader);
  misfireHandler.initialize();
  schedulerRunning = true;
  
  getLog().debug("JobStore background threads started (as scheduler was started).");
}

origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * @see org.quartz.spi.JobStore#schedulerStarted()
 */
public void schedulerStarted() throws SchedulerException {
  if (isClustered()) {
    clusterManagementThread = new ClusterManager();
    if(initializersLoader != null)
      clusterManagementThread.setContextClassLoader(initializersLoader);
    clusterManagementThread.initialize();
  } else {
    try {
      recoverJobs();
    } catch (SchedulerException se) {
      throw new SchedulerConfigException(
          "Failure occured during job recovery.", se);
    }
  }
  misfireHandler = new MisfireHandler();
  if(initializersLoader != null)
    misfireHandler.setContextClassLoader(initializersLoader);
  misfireHandler.initialize();
}
 
origin: quartz/quartz-all

/**
 * @see org.quartz.spi.JobStore#schedulerStarted()
 */
public void schedulerStarted() throws SchedulerException {
  if (isClustered()) {
    clusterManagementThread = new ClusterManager();
    if(initializersLoader != null)
      clusterManagementThread.setContextClassLoader(initializersLoader);
    clusterManagementThread.initialize();
  } else {
    try {
      recoverJobs();
    } catch (SchedulerException se) {
      throw new SchedulerConfigException(
          "Failure occured during job recovery.", se);
    }
  }
  misfireHandler = new MisfireHandler();
  if(initializersLoader != null)
    misfireHandler.setContextClassLoader(initializersLoader);
  misfireHandler.initialize();
}

org.quartz.impl.jdbcjobstoreJobStoreSupport$ClusterManagersetContextClassLoader

Popular methods of JobStoreSupport$ClusterManager

  • <init>
  • initialize
  • interrupt
  • manage
  • setDaemon
  • setName
  • setPriority
  • shutdown
  • join
  • start

Popular in Java

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • findViewById (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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