[Spring] BeanPostProcessor

양정훈·2022년 6월 20일
  • BeanPostProcessor 인터페이스를 구현한 클래스를 정의
  • Bean 객체를 생성 -> 초기화 이전/후 시점에 빈 객체를 조작 가능
  • bean 객체 생성 -> postProcessBeforeInitialization -> bean 객체 초기화 -> postProcessAfterInitialization -> 빈 등록

0개의 댓글