What is the @component annotation in Spring and SpringBoot ? What is use of @component in Spring?

Поделиться
HTML-код
  • Опубликовано: 23 янв 2024
  • #springboottutorial #springboot #annotations #interviewquestions
    What is @component annotation in Spring and SpringBoot ?
    What is use of @component in Spring?
    * This annotation Indicates that the annotated class is a component.
    * Such classes are considered as candidates for auto-detection when using annotation-based configuration and class path scanning.
    #sjprogrammingsolutions
    #springtutorial

Комментарии • 5