]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2598 NotificationManager should be available as BatchComponent
authorEvgeny Mandrikov <mandrikov@gmail.com>
Mon, 25 Jul 2011 11:42:52 +0000 (15:42 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Mon, 25 Jul 2011 15:35:54 +0000 (19:35 +0400)
sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchModule.java

index 4fae72f95e1411b2fb5f93563734641fdfabd7a5..b33fa68106301c647e7e6425c97f2372c36d1221 100644 (file)
@@ -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();
   }