agave-files/files-core/src/test/java/org/iplantc/service/io/notifications/LogicalFileNotificationIT.java
/**
     * Fetches the custom quartz scheduler needed to manage notification processing.
     * @throws SchedulerException
     */
Fetches the custom quartz scheduler needed to manage notification processing.
Fetches the custom quartz scheduler needed to manage notification processing .
private void startTestNotificationScheduler() throws SchedulerException {
        StdSchedulerFactory schedulerFactory = new StdSchedulerFactory();
        Properties props = new Properties();
        props.put("org.quartz.scheduler.instanceName", "AgaveNotificationScheduler");
        props.put("org.quartz.threadPool.threadCount", "1");
        props.put("org.quartz.jobStore.class", "org.quartz.simpl.RAMJobStore");
        props.put("org.quartz.plugin.shutdownhook.class", "org.quartz.plugins.management.ShutdownHookPlugin");
        props.put("org.quartz.plugin.shutdownhook.cleanShutdown", "true");
        props.put("org.quartz.scheduler.skipUpdateCheck","true");
        schedulerFactory.initialize(props);
        sched = schedulerFactory.getScheduler();
        sched.start();
    }
private void startTestNotificationScheduler ( ) throws SchedulerException { StdSchedulerFactory schedulerFactory = new StdSchedulerFactory ( ) ; Properties props = new Properties ( ) ; props . put ( "org.quartz.scheduler.instanceName" , "AgaveNotificationScheduler" ) ; props . put ( "org.quartz.threadPool.threadCount" , "1" ) ; props . put ( "org.quartz.jobStore.class" , "org.quartz.simpl.RAMJobStore" ) ; props . put ( "org.quartz.plugin.shutdownhook.class" , "org.quartz.plugins.management.ShutdownHookPlugin" ) ; props . put ( "org.quartz.plugin.shutdownhook.cleanShutdown" , "true" ) ; props . put ( "org.quartz.scheduler.skipUpdateCheck" , "true" ) ; schedulerFactory . initialize ( props ) ; sched = schedulerFactory . getScheduler ( ) ; sched . start ( ) ; }
Fetches the custom quartz scheduler needed to manage notification processing.
Fetches the custom quartz scheduler needed to manage notification processing .