S

Shyam Dubey • 3.70K Points
Extraordinary

Q. How do you exclude a class from component scanning?

  • (A) @ComponentScan(exclude=...)
  • (B) @ComponentIgnore
  • (C) @ExcludeScan
  • (D) @IgnoreComponent
  • Correct Answer - Option(A)
  • Views: 11
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@ComponentScan can be configured to exclude specific classes from scanning.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.