From bb4da13a42bd96b130ace88a0f1973dd0907c965 Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Mon, 25 Jul 2011 15:42:52 +0400 Subject: [PATCH] SONAR-2598 NotificationManager should be available as BatchComponent --- .../src/main/java/org/sonar/batch/bootstrap/BatchModule.java | 2 ++ 1 file changed, 2 insertions(+) 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(); } -- 2.39.5