public class DefaultNotificationManager extends Object implements NotificationManager
Constructor and Description |
---|
DefaultNotificationManager(DatabaseSessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
NotificationQueueElement |
getFromQueue() |
boolean |
isEnabled(String username,
String channelKey,
String dispatcherKey) |
void |
scheduleForSending(Notification notification)
Receives a notification and stores it so that it is processed by the notification service.
|
public DefaultNotificationManager(DatabaseSessionFactory sessionFactory)
public void scheduleForSending(Notification notification)
NotificationManager
scheduleForSending
in interface NotificationManager
notification
- the notification.public NotificationQueueElement getFromQueue()
Copyright © 2009-2012 SonarSource. All Rights Reserved.