ITeye博客

Thred类中 注入service

durbao · 2015-06-03 21:40 · java · 移动开发 · Markdown

WebApplicationContext ctx=ContextLoader.getCurrentWebApplicationContext();
		ctx.getBean("xxxxService");

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。