In Spring Boot, the _____ annotation can be used to specify the conditions that must be met for a component to be registered.

  • @ComponentCondition
  • @ComponentScan
  • @Conditional
  • @ConditionalOnProperty
In Spring Boot, the "@Conditional" annotation is used to specify conditions that must be met for a component to be registered. This annotation is often used in combination with other conditional annotations like "@ConditionalOnProperty" to conditionally enable or disable components based on specific criteria.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *