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