Spring 源码阅读 | 模式注解
什么是模式注解?
以下是官网中对于模式注解(Stereotype Annotations)的解释:
A stereotype annotation is an annotation that is used to declare the role that a component plays within the application. For example, the @Repository annotation in the Spring Framework is a marker for any class that fulfills the role or stereotype of a repository (also known as Data Access Object or DAO).
@Component is a generic stereotype for any Sprin
版权声明:
作者:zhangchen
链接:https://www.techfm.club/p/12060.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。
THE END
二维码
共有 0 条评论