springMVC中不通过注解方式获取指定Service的javabean

如TestService,其实现为TestServiceImpl,则可以通过
TestService testService = (TestService)SpringContextHolder.getBean("testServiceImpl");
来获取
原文地址:https://www.cnblogs.com/kangyun/p/5616090.html