Spring源码追踪1——doGetBean(为什么org.springframework.data.redis.core.RedisTemplate的实例可以注入为ListOperations)
类org.springframework.beans.factory.support.AbstractBeanFactory方法T doGetBean(final String name, final Class<T> requiredType, final Object[] args, boolean typeCheckOnly)
这里requiredType是获取的实例要转换成的