WebApplicationContext context = ContextLoader.getCurrentWebApplicationContext(); IService service = (IService) context.getBean("service");
WebApplicationContext context = ContextLoader.getCurrentWebApplicationContext(); IService service = (IService) context.getBean("service");