? ?throws BeansException {
? this.applicationContext = (WebApplicationContext)applicationContext;
?}
?@Override
?public void afterPropertiesSet() throws Exception {
? this.loadHandlerMapping();
? this.orderMappers();
? this.applicationContext.getServletContext().setAttribute("api", this.mappers);
?}
?
?/**
? *
方法描述:刷新接口信息
? *
创建人: 王成委?
? *
创建时间: 2015年1月10日 上午10:50:06
? * @throws Exception
? */
?public void refresh() throws Exception{
? this.mappers = new HashMap
? this.afterPropertiesSet();
?}
}
利用C标签生产接口描述信息
?
| 接口地址 | 接口名称 | 参数说明 |
? ? ? ? ? | ||
? ? ? ? ? ?${list.url} ? ? ? ? ? | ${list.name} | ? ? ? ? ? ? ${params.name}:${params.desc} ? ? ? ? ? ? |