6465666768697071727374
if (m == Mode.LIVE) { return new MemoryMonitorDAO(); } HibernateMonitorDAO2 dao = (HibernateMonitorDAO2) context.getBean("hibMonitorDAO"); dao.setMode(m); dao.setSync(getSync()); return dao; }