added dao

This commit is contained in:
insanity 2017-06-26 15:55:06 +09:00
parent 2fdd9b6968
commit 909a7bd585

View File

@ -5,6 +5,7 @@ import com.loafle.overflow.db.api.DBInput;
import com.loafle.overflow.db.api.DBOutput; import com.loafle.overflow.db.api.DBOutput;
import com.loafle.overflow.module.domain.dao.DomainDAO; import com.loafle.overflow.module.domain.dao.DomainDAO;
import com.loafle.overflow.module.email.dao.EmailAuthDAO; import com.loafle.overflow.module.email.dao.EmailAuthDAO;
import com.loafle.overflow.module.infra.dao.*;
import com.loafle.overflow.module.member.dao.MemberDAO; import com.loafle.overflow.module.member.dao.MemberDAO;
import com.loafle.overflow.module.noauthprobe.dao.NoAuthProbeDAO; import com.loafle.overflow.module.noauthprobe.dao.NoAuthProbeDAO;
import com.loafle.overflow.module.probe.dao.ProbeDAO; import com.loafle.overflow.module.probe.dao.ProbeDAO;
@ -42,14 +43,21 @@ public class DBProxy {
daoMap.put("member", ctx.getBean(MemberDAO.class)); daoMap.put("member", ctx.getBean(MemberDAO.class));
daoMap.put("probe", ctx.getBean(ProbeDAO.class)); daoMap.put("probe", ctx.getBean(ProbeDAO.class));
daoMap.put("noauthProbe", ctx.getBean(NoAuthProbeDAO.class)); daoMap.put("noauthProbe", ctx.getBean(NoAuthProbeDAO.class));
daoMap.put("emailAuth", ctx.getBean(EmailAuthDAO.class)); daoMap.put("emailAuth", ctx.getBean(EmailAuthDAO.class));
daoMap.put("sensor", ctx.getBean(SensorDao.class)); daoMap.put("sensor", ctx.getBean(SensorDao.class));
daoMap.put("sensorItem", ctx.getBean(SensorItemDao.class)); daoMap.put("sensorItem", ctx.getBean(SensorItemDao.class));
daoMap.put("domain", ctx.getBean(DomainDAO.class)); daoMap.put("domain", ctx.getBean(DomainDAO.class));
daoMap.put("target", ctx.getBean(DomainDAO.class));
daoMap.put("infra", ctx.getBean(InfraDAO.class));
daoMap.put("infraHost", ctx.getBean(InfraHostDAO.class));
daoMap.put("infraMachine", ctx.getBean(InfraMachineDAO.class));
daoMap.put("infraOS", ctx.getBean(InfraOSDAO.class));
daoMap.put("infraOSApplication", ctx.getBean(InfraOSApplicationDAO.class));
daoMap.put("infraOSDaemon", ctx.getBean(InfraOSDaemonDAO.class));
daoMap.put("infraOSPort", ctx.getBean(InfraOSPortDAO.class));
daoMap.put("infraService", ctx.getBean(InfraServiceDAO.class));
// daoMap.put("target", targetDAO);
// daoMap.put("crawler", crawlerDAO); // daoMap.put("crawler", crawlerDAO);
// daoMap.put("crawlerInputItem", crawlerInputItemDAO); // daoMap.put("crawlerInputItem", crawlerInputItemDAO);
// daoMap.put("crawlerInputItemMapping", crawlerInputItemMappingDAO); // daoMap.put("crawlerInputItemMapping", crawlerInputItemMappingDAO);