~/talk

Dependency Injection Revisited

Talkat Spring I/O 2025 · 2025-05-22..05-23· [java]
slides:none on file

Covers practical DI details in Spring Framework 6.2 and a new programmatic unit landing in 7.0 milestones: lazy injection at parameter level creates a type-preserving proxy, while ObjectProvider lazy handle gives on‑demand access without a proxy (getObject returns the real bean), collections inject pre‑initialized ordered instances (ordering forces full initialization), qualifiers and parameter names resolve conflicts, and BeanRegister in 7.0 lets code register beans conditionally, is tooling‑aware and AOT‑friendly for reproducible programmatic configuration.

AI-written summary · about

  1. 0:00Dependency injection intro
  2. 7:21Injection points and beans
  3. 15:52Lazy and nullable injection
  4. 24:03Collection and stream injection
  5. 33:10ObjectProvider use cases
  6. 36:37Bean definitions and config
  7. 41:32BeanRegister in Spring 7
  8. 50:04BeanRegister benefits
  9. 52:53Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.