“Sprężyna komponentu” Kod odpowiedzi

Komponent Spring

@Component is a class-level annotation. It is used to denote a class as a Component. We can use @Component across the application to mark the beans as Spring’s managed components.
Mani kumar

Sprężyna komponentu

@Component is an annotation that allows Spring to automatically detect our custom beans. In other words, without having to write any explicit code, Spring will: Scan our application for classes annotated with @Component. Instantiate them and inject any specified dependencies into them.
Lively Lizard

Odpowiedzi podobne do “Sprężyna komponentu”

Pytania podobne do “Sprężyna komponentu”

Więcej pokrewnych odpowiedzi na “Sprężyna komponentu” w Java

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu