Загрузка...

Spring @ComponentScan Annotation #javaframework #interview #java #springframework #coding

Spring @ComponentScan Annotation #javaframework #interview #java #springframework #coding
@ComponentScan annotation was introduced in Spring 2.5, which is used to support "Annotation-based Configuration".

It enables Spring’s "Component-Scanning Feature", which allows Spring to automatically look for components, configurations and services to manage as Spring beans.
It scans one or more base packages and their sub-packages for classes annotated with component-related stereotypes (like @Component, @Service, @Repository, and @Controller) and registers these classes as beans within the Spring Context.

Видео Spring @ComponentScan Annotation #javaframework #interview #java #springframework #coding канала A1 IT Training Institute 20k 2 hourse ago
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять