深入理解 Spring 中的各种注解,总有一个你不懂的?
1. Java中的注解
/**
* Indicates that a method declaration is intended to override a
* method declaration in a supertype. If a method is annotated with
* this annotation type compilers are required to generate an error
* message unless at least one of the following conditions hold:
* The method does override or implement a method declared in a
* supertype.
* The method has a signature that is override-equivalent to that of
* any public method declared in Object.
*
* @author Peter von der Ahé
* @author Joshua Bloch
* @jls 9.6.1.4 @Override
* @since 1.5
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
public @interface Override {
}2. 使用 元注解 来自定义注解 和 处理自定义注解
3. spring的bean容器相关的注解
4. spring中注解的处理
5. Spring注解和JSR-330标准注解的区别:

Last updated