Skip to content

Commit d4b1c68

Browse files
Ajay KumarAjay Kumar
authored andcommitted
Spring Boot Lazy Initialization example
1 parent 0843290 commit d4b1c68

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Spring Boot Lazy Initialization example
2+
3+
## Configuration
4+
`spring.main.lazy-initialization` is set to `false` by default. This can be set to `true` to enable Lazy Initialization in the Spring Boot Project.
5+
6+
## Alternatives
7+
- `/lazy` - Uses `LazyController` and `LazyService` which can be marked manually as `@Lazy` for specific Beans

0 commit comments

Comments
 (0)