The bean is recognized and becomes part of the application context because of the:-

The bean is recognized and becomes part of the application context because of the:-
A. @Component
B. @Attr
C. All of the mentioned
D. None of the mentioned
 
Answer: a
Explanation: The bean is recognized and becomes part of the application context because of the @Component annotation, which we enabled with the context:component-scan element in our reworked batch.xml (which we’re calling scheduled_batch.xml).
 

Tìm kiếm

Back
Top