使用SpringBoot时并没有创建RedisTemplate对象,为什么可以直接使用?RedisTemplate从哪里来?

使用SpringBoot时并没有创建RedisTemplate对象,为什么可以直接使用?RedisTemplate从哪里来? 开启SpringBoot引导类,触发@SpringBootApplication注解,而@SpringBootApplication注解依赖于@SpringBootConfiguration、@EnableAutoConfiguration和@ComponentScan注解
相关文章
相关标签/搜索