IConfig cScheduler = config.getConfig("scheduler");
if (cScheduler != null) {
String clazz = cScheduler.getExtracted("class",TimerScheduler.class.getCanonicalName());
scheduler = (BpmScheduler) activator.getObject(clazz);
} else
scheduler = new TimerScheduler();
scheduler.initialize(cScheduler);
}