
@Lazy annotation in Spring Boot
10
0________
The @Lazy annotation in Spring Boot (and Spring Framework) is used to mark a bean for lazy initialization, meaning it won’t be created until it's actually needed (i.e., when it's first requested from the application context), rather than at startup.
gitlab.com/javabootprogrammer/LazyExample.git
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
00:00 Welcome to the channel
00:05 Windows startup apps
01:49 @Lazy annotation
04:26 @Lazy usage
05:37 @Lazy scope
06:01 @Lazy attributes
07:55 eager vs lazy
09:33 @Lazy Example projecct
コメント