Two-jar starter (autoconfigure + starter), a demo app, and 17 captured transcripts covering AutoConfiguration.imports, @ConditionalOn*, ordering, optional Jackson 3 integration, configuration metadata and the Boot 4 module split. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Uu7q8vPeREyT4218EJPzz1
14 lines
515 B
Plaintext
14 lines
515 B
Plaintext
# @ConditionalOnMissingBean: backing off, and the order that decides it
|
|
|
|
|
|
--- user configuration + auto-configuration (the way Boot loads them) ---
|
|
Masker beans : [customMasker]
|
|
getBean(Masker.class) : mask -> <redacted>
|
|
|
|
--- the same two classes registered as ordinary configuration, starter first ---
|
|
Masker beans : [masker, customMasker]
|
|
getBean(Masker.class) : NoUniqueBeanDefinitionException
|
|
|
|
--- the same two classes, user configuration first ---
|
|
Masker beans : [customMasker]
|