Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redis拦截命令 #13

Open
tingyunote opened this issue Jul 13, 2023 · 1 comment
Open

redis拦截命令 #13

tingyunote opened this issue Jul 13, 2023 · 1 comment

Comments

@tingyunote
Copy link

} else if (bean instanceof RedisTemplate) {

大佬为什么我启动会默认走这个逻辑呢

@youbl
Copy link
Owner

youbl commented Jul 14, 2023

你说的是https://blog.csdn.net/youbl/article/details/109266634
这篇文章里的BeanPostProcessor 实现吧?
这个接口,每个Bean初始化完成,都会调用这个接口的实现,
RedisTemplate 和 redisConnectionFactory
都会进入这里

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants