properties.put(SchedulerConstants.SCHEDULER_DESCRIPTION_KEY, "Task that synchronizes log store with id=" + name + " on the gateway and server");
properties.put(SchedulerConstants.SCHEDULER_NAME_KEY, name);
properties.put(SchedulerConstants.SCHEDULER_RECIPE, "2000");
Component sync = m_manager.createComponent()
.setInterface(Runnable.class.getName(), properties)
.setImplementation(new LogSyncTask(name))
.add(createServiceDependency().setService(LogStore.class, "(&("+Constants.OBJECTCLASS+"="+LogStore.class.getName()+")(name=" + name + "))").setRequired(true))
.add(createServiceDependency().setService(Discovery.class).setRequired(true))
.add(createServiceDependency().setService(Identification.class).setRequired(true))
.add(createServiceDependency().setService(LogService.class).setRequired(false));