From: Evgeny Mandrikov Date: Mon, 25 Jul 2011 11:42:52 +0000 (+0400) Subject: SONAR-2598 NotificationManager should be available as BatchComponent X-Git-Tag: 2.10~100 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bb4da13a42bd96b130ace88a0f1973dd0907c965;p=sonarqube.git SONAR-2598 NotificationManager should be available as BatchComponent --- diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchModule.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchModule.java index 4fae72f95e1..b33fa681063 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchModule.java +++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchModule.java @@ -31,6 +31,7 @@ import org.sonar.batch.components.*; import org.sonar.batch.index.*; import org.sonar.core.components.CacheMetricFinder; import org.sonar.core.components.CacheRuleFinder; +import org.sonar.core.notifications.DefaultNotificationManager; import org.sonar.jpa.dao.MeasuresDao; /** @@ -75,6 +76,7 @@ public class BatchModule extends Module { addComponent(PastSnapshotFinderByVersion.class); addComponent(PastMeasuresLoader.class); addComponent(PastSnapshotFinder.class); + addComponent(DefaultNotificationManager.class); addCoreMetrics(); addBatchExtensions(); }