ApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(request.getSession().getServletContext());
SqlSessionFactory fact = (SqlSessionFactory)ctx.getBean("sqlSessionFactory2"); Collection<String> coll = fact.getConfiguration().getMappedStatementNames(); for(String name : coll) log.info("dao name:" + name);