Tag

Conditional Annotations

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 20, 2024 · Backend Development

Mastering Spring Boot @Conditional Annotations: A Complete Guide

This article explains how Spring Boot's @Conditional annotations—covering class, bean, property, resource, web application, and SpEL expression conditions—can be used to conditionally load configuration and beans, with examples and guidance on custom conditions.

Backend DevelopmentConditional AnnotationsConfiguration
0 likes · 7 min read
Mastering Spring Boot @Conditional Annotations: A Complete Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 2, 2023 · Backend Development

Master Spring Boot Auto-Configuration: Beans, Conditions, and Custom Starters

This article explains how Spring Boot auto‑configuration works, how to locate candidate configurations, use various @Conditional annotations, and build a custom starter—including naming conventions, property keys, and a complete logging starter example with code snippets.

Auto‑ConfigurationConditional AnnotationsCustom Starter
0 likes · 10 min read
Master Spring Boot Auto-Configuration: Beans, Conditions, and Custom Starters