Spring泛型依赖注入

Spring4.x中可以为子类注入子类对应的泛型类型的成员变量的引用 目录: package generic; import org.springframework.beans.factory.annotation.Autowired; /** * @author chenpeng * @date 2018/6/3 13:42 */ public class BaseService<T>
相关文章
相关标签/搜索