JAVAWEB项目获取Spring容器中的对象

ContextLoader.getCurrentWebApplicationContext().getBean()//JAVAWEB应用获取spring容器中的对象

猜你喜欢

转载自blog.51cto.com/12165865/2131815
今日推荐