Class NotificationDispatcherImpl
- java.lang.Object
-
- com.atlassian.bamboo.notification.NotificationDispatcherImpl
-
- All Implemented Interfaces:
NotificationDispatcher
public class NotificationDispatcherImpl extends Object implements NotificationDispatcher
Evaluates notification transports, ensures no duplicate emails and kicks off the sending process of notifications
-
-
Constructor Summary
Constructors Constructor Description NotificationDispatcherImpl(@NotNull TransactionAndHibernateTemplate hibernateTemplate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispatchNotifications(Notification notification)
Dispatch notifications for the given notification.protected void
shutdownAndAwaitTermination()
-
-
-
Constructor Detail
-
NotificationDispatcherImpl
@Inject public NotificationDispatcherImpl(@NotNull @NotNull TransactionAndHibernateTemplate hibernateTemplate)
-
-
Method Detail
-
dispatchNotifications
public void dispatchNotifications(Notification notification)
Dispatch notifications for the given notification.- Specified by:
dispatchNotifications
in interfaceNotificationDispatcher
- Parameters:
notification
- Notification to be dispatched
-
shutdownAndAwaitTermination
protected void shutdownAndAwaitTermination()
-
-