Add cycles to core-beans: the circular-dependency failure report, what allow-circular-references repairs and hides, and four fixes on Boot 4.1
Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Uu7q8vPeREyT4218EJPzz1
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# Dispatcher(List<Handler>) and a Handler that needs the Dispatcher
|
||||
|
||||
|
||||
--- Handler injects the Dispatcher ---
|
||||
started: false
|
||||
exception classes: UnsatisfiedDependencyException -> UnsatisfiedDependencyException -> BeanCurrentlyInCreationException
|
||||
root cause: Error creating bean with name 'hiddenCyclesTest.Dispatcher': Requested bean is currently in creation: Is there an unresolvable circular reference or an asynchronous initialization dependency?
|
||||
|
||||
--- Handler injects ObjectProvider<Dispatcher> ---
|
||||
started: true
|
||||
dispatch("ping") -> [seen ping (dispatcher available: true)]
|
||||
Reference in New Issue
Block a user