String filePath = CarbonRepositoryUtils.getCarbonRepositoryFilePath(getConfigContext());
DeploymentSynchronizer synchronizer = DeploymentSynchronizationManager.getInstance().
deleteSynchronizer(filePath);
if (synchronizer != null) {
synchronizer.stop();
}
}
public void updateSynchronizerForCarbonRepository(DeploymentSynchronizerConfiguration config)
throws DeploymentSynchronizerException {