October 2021
Beginner
416 pages
11h 25m
English
Symbols
@AfterReturning annotation 143
@Autowired annotation 51, 61-65, 88, 114, 121, 343
class fields, injecting beans 61-63
constructor, injecting beans 64-65
using dependency injection through setter 65
@Bean annotation 51, 101, 129, 260, 281
creating method that returns Bean and annotates method with @Bean 34-35
defining configuration class in project 34
making Spring initialize its context using configuration class 35-40
prototype bean scope, declaring 113
singleton bean scope, declaring 101-103