diff options
Diffstat (limited to 'sonar-batch/src/main/java/org/sonar/batch/bootstrap/TaskContainer.java')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/bootstrap/TaskContainer.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/TaskContainer.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/TaskContainer.java index 3b754d15b34..83fe47a2b02 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/TaskContainer.java +++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/TaskContainer.java @@ -58,6 +58,7 @@ import org.sonar.core.notification.DefaultNotificationManager; import org.sonar.core.persistence.DaoUtils; import org.sonar.core.persistence.DatabaseVersion; import org.sonar.core.persistence.MyBatis; +import org.sonar.core.persistence.SemaphoreUpdater; import org.sonar.core.persistence.SemaphoresImpl; import org.sonar.core.resource.DefaultResourcePermissions; import org.sonar.core.rule.CacheRuleFinder; @@ -104,6 +105,7 @@ public class TaskContainer extends Container { container.addSingleton(CacheMetricFinder.class); container.addSingleton(DefaultUserFinder.class); container.addSingleton(ResourceTypes.class); + container.addSingleton(SemaphoreUpdater.class); container.addSingleton(SemaphoresImpl.class); container.addSingleton(PastSnapshotFinderByDate.class); container.addSingleton(PastSnapshotFinderByDays.class); |