Properties schedulerProperties = loadProperties("quartz.properties");
registry.registerModelExtension(SchedulerProperty.class);
registry.commitModelExtensions();
service = new QuartzSchedulerService(registry, schedulerProperties);
service.init();
registry.registerService(ProcessToolSchedulerService.class, service, null);
registry.getEventBusManager().subscribe(ScheduleJobEvent.class, service);
}