} else if (TRIGGER_PERSISTED_JCR_EVENT.equals(factory)) {
String path = PropertiesUtil.toString(properties.get(TRIGGER_PERSISTED_JCR_EVENT_PROPERTY_PATH), null);
String serviceName = PropertiesUtil.toString(properties.get(TRIGGER_PERSISTED_JCR_EVENT_PROPERTY_SERVICE_NAME), null);
String nuggetsPath = PropertiesUtil.toString(properties.get(TRIGGER_PERSISTED_JCR_EVENT_PROPERTY_NUGGETS_PATH), null);
return new PersistingJcrEventReplicationTrigger(repository, path, serviceName, nuggetsPath);
}
return null;
}