new ProjectRepositoriesProvider(),
DefaultResourceCreationLock.class,
CodeColorizers.class,
- DefaultNotificationManager.class,
MetricProvider.class,
ProjectConfigurator.class,
DefaultIndex.class,
ResourcePersister.class,
SourcePersister.class,
ResourceKeyMigration.class,
+ DefaultNotificationManager.class,
ProjectScmRepositoryLoader.class,
import com.google.common.collect.Lists;
import com.google.common.collect.Multimap;
import com.google.common.collect.SetMultimap;
+import java.io.IOException;
+import java.io.InvalidClassException;
+import java.util.Arrays;
+import java.util.List;
+import javax.annotation.Nullable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import org.sonar.api.batch.RequiresDB;
import org.sonar.api.notifications.Notification;
import org.sonar.api.notifications.NotificationChannel;
import org.sonar.api.notifications.NotificationDispatcher;
import org.sonar.core.notification.db.NotificationQueueDto;
import org.sonar.core.properties.PropertiesDao;
-import javax.annotation.Nullable;
-
-import java.io.IOException;
-import java.io.InvalidClassException;
-import java.util.Arrays;
-import java.util.List;
-
/**
* @since 2.10
*/
+@RequiresDB
public class DefaultNotificationManager implements NotificationManager {
private static final Logger LOG = LoggerFactory.getLogger(DefaultNotificationManager.class);