Thred类中 注入service
WebApplicationContext ctx=ContextLoader.getCurrentWebApplicationContext();
ctx.getBean("xxxxService");
WebApplicationContext ctx=ContextLoader.getCurrentWebApplicationContext();
ctx.getBean("xxxxService");
暂无评论。
评论功能维护中,当前仅展示历史评论。