minsang-alt / TIL

Today I Learned. 그날 그날 배운 내용 정리
https://evoblog.life
MIT License
0 stars 0 forks source link

ioc/ #6

Open utterances-bot opened 2 weeks ago

utterances-bot commented 2 weeks ago

IoC에서 어떻게 빈이 생성되는가

이때 설명하기 쉽게 BookChallengeApplication을 시작점으로 하겠습니다. 애플리케이션 컨택스트 생성 서블릿 기반인 경우, context의 구현체는 빈 등록 과정 @Configuration 클래스 처리 의 메소드에서 다음과 같은 과정이 진행됩니다 이 과정에서 클래스들을 찾고 처리합니다. 이

https://evoblog.life/ioc/

minsang-alt commented 2 weeks ago

이거 순서 이상하다

How exactly does the Spring BeanPostProcessor work? - Stack Overflow - https://stackoverflow.com/questions/29743320/how-exactly-does-the-spring-beanpostprocessor-work

AOP 프록시 생성: 필요한 경우, AOP 프록시가 생성되어 원본 빈을 감싸게 됩니다. 초기화 메서드 호출: 빈의 초기화 메서드(@PostConstruct 어노테이션이 붙은 메서드나 InitializingBean 인터페이스의 afterPropertiesSet() 메서드)가 호출됩니다.