未验证 提交 9339584b 编写于 作者: H Hollis 提交者: GitHub

Update annotation-in-spring.md

上级 91292f60
......@@ -26,10 +26,6 @@
@Resource默认按名称装配,当找不到与名称匹配的bean才会按类型装配。
@PostConstruct 初始化注解
@PreDestroy 摧毁注解 默认 单例 启动就加载
### Spring中的这几个注解有什么区别:@Component 、@Repository、@Service、@Controller
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册