@Nullable or Optional for accepting nulls | Dependency Injection | Spring Tutorial |Ch1|E7|

Published: 18 July 2022
on channel: STUDevLantern
654
7

during the dependency injection, if spring fails to satisfy an injection point(constructor parameter, setter method parameter or field), it will throw exception indicating no qualifying bean definition was found.
you could signal spring dependency injector that it is ok to pass us null in the case of satisfying bean definition absence.


On this page of the site you can watch the video online @Nullable or Optional for accepting nulls | Dependency Injection | Spring Tutorial |Ch1|E7| with a duration of hours minute second in good quality, which was uploaded by the user STUDevLantern 18 July 2022, share the link with friends and acquaintances, this video has already been watched 654 times on youtube and it was liked by 7 viewers. Enjoy your viewing!