adspace
What does @component do in spring boot? : Spring Boot
Answer Posted / Brahamgyan Singh
@Component is a component scan annotation in Spring Boot, which indicates that the class using it is a Spring-managed component. This means that Spring will automatically detect and manage the lifecycle of this component as a bean.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers