Package org.quartz.spi

Examples of org.quartz.spi.ClassLoadHelper.initialize()


        }

        QuartzScheduler qs = new QuartzScheduler(qrs, idleWaitTime, dbFailureRetryInterval);

        ClassLoadHelper cch = new CascadingClassLoadHelper();
        cch.initialize();

        SchedulerDetailsSetter.setDetails(jobStore, schedulerName, schedulerInstanceId);

        jobStore.initialize(cch, qs.getSchedulerSignaler());
View Full Code Here


    }

    try {
      if (this.jobSchedulingDataLocations != null) {
        ClassLoadHelper clh = new ResourceLoaderClassLoadHelper(this.resourceLoader);
        clh.initialize();
        XMLSchedulingDataProcessor dataProcessor = new XMLSchedulingDataProcessor(clh);
        for (String location : this.jobSchedulingDataLocations) {
          dataProcessor.processFileAndScheduleJobs(location, getScheduler());
        }
      }
View Full Code Here

    }
    try {

      if (this.jobSchedulingDataLocations != null) {
        ClassLoadHelper clh = new ResourceLoaderClassLoadHelper(this.resourceLoader);
        clh.initialize();
        JobSchedulingDataProcessor dataProcessor = new JobSchedulingDataProcessor(clh, true, true);
        for (String location : this.jobSchedulingDataLocations) {
          dataProcessor.processFileAndScheduleJobs(location, getScheduler(), this.overwriteExistingJobs);
        }
      }
View Full Code Here

        loadHelpers.add(new InitThreadContextClassLoadHelper());
       
        Iterator iter = loadHelpers.iterator();
        while (iter.hasNext()) {
            ClassLoadHelper loadHelper = (ClassLoadHelper) iter.next();
            loadHelper.initialize();
        }
    }

    /**
     * Return the class with the given name.
View Full Code Here

/*  87 */     this.loadHelpers.add(new InitThreadContextClassLoadHelper());
/*     */
/*  89 */     Iterator iter = this.loadHelpers.iterator();
/*  90 */     while (iter.hasNext()) {
/*  91 */       ClassLoadHelper loadHelper = (ClassLoadHelper)iter.next();
/*  92 */       loadHelper.initialize();
/*     */     }
/*     */   }
/*     */
/*     */   public Class loadClass(String name)
/*     */     throws ClassNotFoundException
View Full Code Here

/*      */     }
/*      */     catch (Exception e) {
/*  549 */       throw new SchedulerConfigException("Unable to instantiate class load helper class: " + e.getMessage(), e);
/*      */     }
/*      */
/*  553 */     loadHelper.initialize();
/*      */
/*  555 */     JobFactory jobFactory = null;
/*  556 */     if (jobFactoryClass != null) {
/*      */       try {
/*  558 */         jobFactory = (JobFactory)loadHelper.loadClass(jobFactoryClass).newInstance();
View Full Code Here

/* 317 */     qrs.setRMIRegistryPort(rmiRegistryPort);
/*     */
/* 319 */     QuartzScheduler qs = new QuartzScheduler(qrs, schedCtxt, idleWaitTime, dbFailureRetryInterval);
/*     */
/* 322 */     ClassLoadHelper cch = new CascadingClassLoadHelper();
/* 323 */     cch.initialize();
/*     */
/* 325 */     jobStore.initialize(cch, qs.getSchedulerSignaler());
/*     */
/* 327 */     Scheduler scheduler = new StdScheduler(qs, schedCtxt);
/*     */
View Full Code Here

        QuartzScheduler qs = new QuartzScheduler(qrs, schedCtxt, idleWaitTime,
                dbFailureRetryInterval);

        ClassLoadHelper cch = new CascadingClassLoadHelper();
        cch.initialize();
       
        jobStore.initialize(cch, qs.getSchedulerSignaler());

        Scheduler scheduler = new StdScheduler(qs, schedCtxt);
View Full Code Here

        } catch (Exception e) {
            throw new SchedulerConfigException(
                    "Unable to instantiate class load helper class: "
                            + e.getMessage(), e);
        }
        loadHelper.initialize();
       
        JobFactory jobFactory = null;
        if(jobFactoryClass != null) {
            try {
                jobFactory = (JobFactory) loadHelper.loadClass(jobFactoryClass)
View Full Code Here

       
        QuartzScheduler qs = new QuartzScheduler(qrs, schedCtxt, idleWaitTime,
                dbFailureRetryInterval);

        ClassLoadHelper cch = new CascadingClassLoadHelper();
        cch.initialize();
       
        jobStore.initialize(cch, qs.getSchedulerSignaler());

        Scheduler scheduler = new StdScheduler(qs, schedCtxt);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.