spring获取当前已启动容器WebApplicationContext context ContextLoader.getCurrentWebApplicationConte
spring获取当前已启动容器
WebApplicationContext context = ContextLoader.getCurrentWebApplicationContext();IService service = (IService) context.getBean("service");? 