| Autowired |
用来标记bean的属性,标记了该注解之后,系统在初始化阶段会对该字段自动赋值
After the annotation is marked with the attributes used to mark the bean,
the system is automatically assigned to the field during the initialization phase.
|
| Component |
该注解用来标识类型,当类型上标记了本注解,系统会在初始化阶段实例化该对象,并且对需要自动装载的属性进行赋值
该注解标识的类型生成的对象不使用动态代理的方式实例化,不会被默认拦截器拦截
This annotation is used to identify the type, and when the annotation is marked on the type,
the system instantiates the object in the initialization phase and assigns the attributes that need to be automatically loaded.
|
| Configuration |
|
| Controller |
|
| Interceptor |
拦截器注解,标注了该注解的对象,需要实现BeanMethodInterceptor接口,可以拦截标注了指定注解的方法或对象的全部方法
The interceptor annotation, annotated with the object of the annotation, needs to implement the BeanMethodInterceptor interface,
which intercepts all methods or objects that annotate the specified annotation.
|
| Order |
|
| Persist |
|
| RpcMethod |
|
| Service |
该注解用来标识类型,当类型上标记了本注解,系统会在初始化阶段实例化该对象,并且对需要自动装载的属性进行赋值
该注解标识的类型生成的对象使用动态代理的方式实例化,会被默认拦截器拦截
This annotation is used to identify the type, and when the annotation is marked on the type,
the system instantiates the object in the initialization phase and assigns the attributes that need to be automatically loaded.
|
| Value |
|
| Value.NotNull |
配置文件非空校验
|