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