return new ScheduledReplicationTrigger(action, path, interval, scheduler);
} else if (TRIGGER_REPLICATION_EVENT.equals(factory)) {
String path = PropertiesUtil.toString(properties.get(TRIGGER_REPLICATION_EVENT_PROPERTY_PATH), null);
return new ChainReplicateReplicationTrigger(path, bundleContext);
} else if (TRIGGER_JCR_EVENT.equals(factory)) {
String path = PropertiesUtil.toString(properties.get(TRIGGER_JCR_EVENT_PROPERTY_PATH), null);
String serviceName = PropertiesUtil.toString(properties.get(TRIGGER_JCR_EVENT_PROPERTY_SERVICE_NAME), null);
return new JcrEventReplicationTrigger(repository, path, serviceName);