private void initJobQueue(Config config) {
        JobQueueFactory factory = ServiceLoader.load(JobQueueFactory.class, config);
        appContext.setExecutableJobQueue(factory.getExecutableJobQueue(config));
        appContext.setExecutingJobQueue(factory.getExecutingJobQueue(config));
        appContext.setCronJobQueue(factory.getCronJobQueue(config));
        appContext.setRepeatJobQueue(factory.getRepeatJobQueue(config));
        appContext.setSuspendJobQueue(factory.getSuspendJobQueue(config));
        appContext.setJobFeedbackQueue(factory.getJobFeedbackQueue(config));
        appContext.setNodeGroupStore(factory.getNodeGroupStore(config));
        appContext.setJobLogger(new SmartJobLogger(appContext));
        appContext.setNoRelyJobGenerator(new NoRelyJobGenerator(appContext));
    }
@author Robert HG (254963746@qq.com) on 6/6/15.
lts-admin/src/main/java/com/github/ltsopensource/admin/support/BackendAppContextFactoryBean.java