Files
spring-boot-demo/core-beans/output/32-lazy-injection-point-versus-lazy-bean.txt
T

12 lines
404 B
Plaintext

# @Lazy on the injection point, with a target that cannot be built
--- @Lazy on the parameter, target is an ordinary singleton ---
started: false
root cause: cannot reach the payment provider
--- @Lazy on the parameter AND on the target bean ---
started: true
first call threw: BeanCreationException -> BeanInstantiationException -> IllegalStateException
root cause: cannot reach the payment provider