blob: 0fb3e1466dbaf1d124d58c559b2ce7796d634cce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package org.onap.msb.apiroute.wrapper.dao;
import org.onap.msb.apiroute.wrapper.dao.route.IRouteDAO;
import org.onap.msb.apiroute.wrapper.dao.route.RouteDAOImpl;
import org.onap.msb.apiroute.wrapper.dao.service.IServiceDAO;
import org.onap.msb.apiroute.wrapper.dao.service.ServiceDAOImpl;
public class DAOFactory {
private static final IRouteDAO routeDAO = new RouteDAOImpl();
private static final IServiceDAO serviceDAO = new ServiceDAOImpl();
public static IRouteDAO getRouteDAO(){
return routeDAO;
}
public static IServiceDAO getServiceDAO(){
return serviceDAO;
}
}
|