aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-12-14 18:27:29 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-12-14 18:27:29 +0100
commitaf07212b764549c16cd252a9311bb68c642e8179 (patch)
tree2276df7ea25c510e83da3c70e90d93f75e07e4b2 /sonar-server
parent189a12a09eb4fd34b632fb2582eb479e15a08125 (diff)
downloadsonarqube-af07212b764549c16cd252a9311bb68c642e8179.tar.gz
sonarqube-af07212b764549c16cd252a9311bb68c642e8179.zip
SONAR-3887 refactor semaphore API
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/java/org/sonar/server/platform/Platform.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/platform/Platform.java b/sonar-server/src/main/java/org/sonar/server/platform/Platform.java
index 9809d4816c6..eff0770fcf3 100644
--- a/sonar-server/src/main/java/org/sonar/server/platform/Platform.java
+++ b/sonar-server/src/main/java/org/sonar/server/platform/Platform.java
@@ -51,6 +51,7 @@ import org.sonar.core.persistence.DatabaseVersion;
import org.sonar.core.persistence.DefaultDatabase;
import org.sonar.core.persistence.DryRunDatabaseFactory;
import org.sonar.core.persistence.MyBatis;
+import org.sonar.core.persistence.SemaphoresImpl;
import org.sonar.core.qualitymodel.DefaultModelFinder;
import org.sonar.core.resource.DefaultResourcePermissions;
import org.sonar.core.rule.DefaultRuleFinder;
@@ -181,6 +182,7 @@ public final class Platform {
rootContainer.addSingleton(RuleI18nManager.class);
rootContainer.addSingleton(GwtI18n.class);
rootContainer.addSingleton(DryRunDatabaseFactory.class);
+ rootContainer.addSingleton(SemaphoresImpl.class);
rootContainer.startComponents();
}