The Inner Secrets of Spring
summary
Shows how Spring builds and mutates beans at startup by using a BeanFactoryPostProcessor to read and rewrite bean definitions (demo swaps a Hibernate repository class for a JDBC repository), then instantiates beans and uses a BeanPostProcessor to wrap them in proxies. Demonstrates the Resource abstraction to replace a local RSS XML with an HTTPS feed without code changes, injecting a web filter as a Spring-managed bean to toggle maintenance mode via JMX, and a runtime swap to a request-timing filter that logs a 4000 ms request.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:05Interface coupling in Spring
- 3:33Spring container internals
- 6:01BeanFactoryPostProcessor demo
- 10:45Resource abstraction in Spring
- 14:35Filter management with Spring
- 21:54Advanced Spring extension points
- 24:43BeanPostProcessor and proxies
- 26:09Q&A








