Document non-default candidate beans and Java-based configuration of non-autowire candidate beans #33392
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: documentation
A documentation task
Milestone
Affects: 6.2
As part of spring-projects/spring-boot#22403, I'd like to link to some Spring Framework reference documentation that explains
defaultCandidate=false
and shows how to use it. Unless the search is failing me, it doesn't appear to be mentioned at all in the reference documentation at the moment.Something similar for
autowireCandidate=false
would also be useful for spring-projects/spring-boot#41526. I've found "Excluding a Bean from Autowiring" but it's focused purely on XML configuration.The text was updated successfully, but these errors were encountered: