DEV 2026.05.02 · 13 min
Intermediate Spring Core Deep Dive · 6
Spring @Configuration은 어떻게 싱글톤을 보장하는가
Full Mode와 Lite Mode의 구분 기준부터 CGLIB 서브클래스 생성, BeanMethodInterceptor의 인터셉션, @Import의 3가지 처리 경로까지, Spring Core의 설정 메커니즘을 추적한다.
총 2개의 글
Full Mode와 Lite Mode의 구분 기준부터 CGLIB 서브클래스 생성, BeanMethodInterceptor의 인터셉션, @Import의 3가지 처리 경로까지, Spring Core의 설정 메커니즘을 추적한다.
application.yml 로딩 시점부터 Relaxed Binding, record 기반 불변 설정, PropertySource 우선순위 17단계까지, Spring Boot 설정 주입 메커니즘 전체를 추적한다.