@interface SpringBootApplication is annotated with @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan.
@interface SpringBootConfiguration is annotated with @Configuration, so this annotation is also included, but not directly
A. @Configuration This annotation indicates that the class has @Bean definition methods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime.
B. @ComponentScan This annotation configures component scanning directives for use with @Configuration classes. Provides support parallel with Spring XML's context:component-scan element.
@Configuration is only indirectly included via @SpringBootConfiguration
upvoted 1 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Peit
1 month, 1 week agoquakquak3
1 month, 1 week agoEvoila_TrainingMaterial
5 months, 1 week agoquakquak3
1 month, 1 week ago