Search in sources :

Example 1 with ZMSNotificationTaskFactory

use of com.yahoo.athenz.zms.notification.ZMSNotificationTaskFactory in project athenz by yahoo.

the class ZMSImpl method setNotificationManager.

private void setNotificationManager() {
    notificationToEmailConverterCommon = new NotificationToEmailConverterCommon(userAuthority);
    ZMSNotificationTaskFactory zmsNotificationTaskFactory = new ZMSNotificationTaskFactory(dbService, userDomainPrefix, notificationToEmailConverterCommon);
    notificationManager = new NotificationManager(zmsNotificationTaskFactory.getNotificationTasks(), userAuthority);
}
Also used : NotificationToEmailConverterCommon(com.yahoo.athenz.common.server.notification.NotificationToEmailConverterCommon) NotificationManager(com.yahoo.athenz.common.server.notification.NotificationManager) ZMSNotificationTaskFactory(com.yahoo.athenz.zms.notification.ZMSNotificationTaskFactory)

Aggregations

NotificationManager (com.yahoo.athenz.common.server.notification.NotificationManager)1 NotificationToEmailConverterCommon (com.yahoo.athenz.common.server.notification.NotificationToEmailConverterCommon)1 ZMSNotificationTaskFactory (com.yahoo.athenz.zms.notification.ZMSNotificationTaskFactory)1