Spring中的所有注解及其用途,区别比较

Spring中的所有注解及其用途,区别比较

一、Spring MVC and Spring Bean Annotations

1.1 Spring Web MVC Annotations

1.2 The Spring @Controller and @RestController Annotations with Examples

1.3 Spring @RequestBody and @ResponseBody Annotations

1.4 Spring @GetMapping, @PostMapping, @PutMapping, @DeleteMapping and @PatchMapping

1.5 Spring @Component Annotation Example

1.6 Spring @Service Annotation

1.7 Spring @Repository Annotation

二、Spring DI and Bean Scopes Annotations

2.1 Spring - @DependsOn Annotation Example

2.2 Spring @Bean’s init method and destroyMethod Attributes Example

2.3 Spring @Scope annotation with Prototype Scope Example

2.4 Spring @Scope annotation with Singleton Scope Example

三、Annotation-based Container Configuration

3.1 Spring @Autowired Annotation with Example

3.2 Spring - @Primary Annotation Example

3.3 Spring @PostConstruct and @PreDestroy Example

3.4 Spring @Qualifier Annotation Example

四、Java-based Container Configuration Annotations

4.1 15 Spring Core Annotations

4.2 Spring Java Based Configuration Basics

4.3 Spring Java Based Configuration Example

4.4 Spring @Bean Annotation with Example

4.5 Spring @Configuration Annotation with Example

4.6 Spring @PropertySource Annotation with Example

4.7 Spring @Import Annotation with Example

4.8 Spring @ImportResource Annotation Example

4.9 Spring - @Lazy Annotation Example

五、Spring Scheduling Annotations

5.1 Spring Scheduling Annotations

六、 Spring Data Annotations

6.1

6.2

七、Spring Boot Annotations

7.1 Spring Boot Annotations

7.2 Spring Boot @EnableAutoConfiguration Annotation with Example

7.3 Spring Boot @SpringBootApplication Annotation with Example

7.4 Spring Boot - Creating Asynchronous Methods using @Async Annotation

全部评论

相关推荐

11-07 13:31
怀化学院 Java
勇敢牛牛不怕难:又疯一个
点赞 评论 收藏
分享
不愿透露姓名的神秘牛友
11-20 19:57
已编辑
某大厂 golang工程师 23.0k*16.0, 2k房补,年终大概率能拿到
点赞 评论 收藏
分享
点赞 收藏 评论
分享
牛客网
牛客企业服务