conditional configuration

Spring configuration that only applies when a condition holds, such as a class being present, a property being set or no other bean of that type existing.

In more detail

Conditions are why a bean can appear or disappear when a dependency or property changes. Profiles are another kind of condition.

Related terms

Taught in

References