Spring 源码分析
OOEM
这个作者很懒,什么都没留下…
展开
-
org.springframework.web.bind.annotation.RequestMapping
@Target({ElementType.METHOD, ElementType.TYPE})@Retention(RetentionPolicy.RUNTIME)@Documented@Mappingpublic @interface RequestMapping { /** * Assign a name to this mapping. * Supported at t原创 2017-11-30 13:51:25 · 5467 阅读 · 0 评论 -
分析Spring 源码前需要了解的java自定义注解
Java注解是附加在代码中的一些元信息,用于一些工具在编译、运行时进行解析和使用,起到说明、配置的功能。注解不会也不能影响代码的实际逻辑,仅仅起到辅助性的作用。包含在 java.lang.annotation 包中。1、元注解元注解是指注解的注解。包括 @Retention @Target @Document @Inherited四种。1.1、@Retenti转载 2017-11-30 13:56:01 · 204 阅读 · 1 评论