ac265e3c8cd0f196d38d374e632929bcc7412504
[sdc.git] /
1 package org.openecomp.sdc.notification.factories.impl;
2
3 import org.openecomp.sdc.notification.factories.LastNotificationDaoFactory;
4 import org.openecomp.sdc.notification.factories.NotificationsDaoFactory;
5 import org.openecomp.sdc.notification.factories.NotificationsServiceFactory;
6 import org.openecomp.sdc.notification.services.NotificationsService;
7 import org.openecomp.sdc.notification.services.impl.NotificationsServiceImpl;
8
9 /**
10  * @author Avrahamg
11  * @since June 20, 2017
12  */
13 public class NotificationsServiceFactoryImpl extends NotificationsServiceFactory {
14   private static final NotificationsService INSTANCE = new NotificationsServiceImpl(
15       LastNotificationDaoFactory.getInstance().createInterface(), NotificationsDaoFactory
16       .getInstance().createInterface());
17
18   @Override
19   public NotificationsService createInterface() {
20     return INSTANCE;
21   }
22 }