public void commit() throws SynchronizationException {
String filePath = CarbonRepositoryUtils.getCarbonRepositoryFilePath(getConfigContext());
DeploymentSynchronizer synchronizer = DeploymentSynchronizationManager.getInstance().
getSynchronizer(filePath);
synchronizer.commit();
}
public boolean synchronizerEnabledForCarbonRepository() {
String filePath = CarbonRepositoryUtils.getCarbonRepositoryFilePath(getConfigContext());
return DeploymentSynchronizationManager.getInstance().getSynchronizer(filePath) != null;