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
18 lines
872 B
Plaintext
18 lines
872 B
Plaintext
# @ConditionalOnBean(JsonMapper) with and without an ordering constraint
|
|
|
|
|
|
--- the order Boot evaluates them in ---
|
|
com.ankurm.masker.MaskerAutoConfiguration
|
|
com.ankurm.traps.EarlyModuleAutoConfiguration
|
|
org.springframework.boot.jackson.autoconfigure.JacksonAutoConfiguration
|
|
com.ankurm.traps.OrderedModuleAutoConfiguration
|
|
|
|
--- the beans each one produced ---
|
|
Marker bean created by OrderedModuleAutoConfiguration
|
|
|
|
--- what Boot recorded ---
|
|
com.ankurm.traps.EarlyModuleAutoConfiguration [not matched]
|
|
did not match: @ConditionalOnBean (types: tools.jackson.databind.json.JsonMapper; SearchStrategy: all) did not find any beans of type tools.jackson.databind.json.JsonMapper
|
|
com.ankurm.traps.OrderedModuleAutoConfiguration [matched]
|
|
matched: @ConditionalOnBean (types: tools.jackson.databind.json.JsonMapper; SearchStrategy: all) found bean 'jacksonJsonMapper'
|