springbean 对象引用
userService = springContext.getBean("userService")
springbean 对象引用2
import xx.xx.UserService userService = springContext.getBean(UserService.class)
import java.util.HashMap
Last updated 3 years ago