Spring @Component 和 @Bean 的区别与最佳实践

这两个注解的核心作用都是将对象(Bean)纳入 Spring 容器管理

赞(0)
未经允许不得转载:小狮博客 » Spring @Component 和 @Bean 的区别与最佳实践
分享到: 更多 (0)

联系我们