-
Notifications
You must be signed in to change notification settings - Fork 233
/
Copy pathAnnotationsList.txt
57 lines (53 loc) · 1.43 KB
/
AnnotationsList.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Annotation list in Fundamental Spring Action 5 th Edition:
@Autowired
@autoconfiguration
-------------------------
@Bean
-------------------------
@Configuration
@Control
@Component
@ComponentScan
-------------------------
@Data ---> at the class level is provided by Lombok and tells Lombok to generate all of those missing methods.
@DeleteMapping
-------------------------
@EnableAutoConfiguration
@Entity
@EnableWebSecurity
------------------------
@ManyToMany (targetEntity=Ingredient.class_)
@ManyToOne
------------------------
@ NotNull
@ NotBlank
@ NoArgsConstructor ( access=AccessLevel.PRIVATE, force=true )
------------------------
@GetMapping
-------------------------
@Service
@SpringBootApplication
@SpringBootTest
@Size
@Slf4j - Simple Logging Facade for Java. Lombok's @Slf4j annotation to create a free SLF4J Logger object at runtime.
@SessionAttributes
@SuppressWarnings("")
-------------------------
@PostMapping
@PutMapping
@PatchMapping
@PrePersist
@Profile
-------------------------
@RunWith(SpringRunner.class)---> prividing a test runner that guides JUnit in running a test. Plugin to JUnit to provide custom.
@Repository
@RequestMapping
@RequiredArgsConstructor
------------------------
@Table
------------------------
@Query("")
------------------------
@Valid
------------------------
@WebMvcTest - set up Spring support for testing Spring MVC. Although it could be made to start a server, mocking the mechanics of Spring MVC.