如果一个类上同时使用了@Bean和@Component注解,Spring容器中的Bean数量会如何变化?为什么?

阅读全文

发表评论

后才能评论