DIP
-
Spring batch jobScope, stepScopeDEV 2023. 12. 2. 21:21
Spring batch의 jobScope, stepScope를 알아가기 위한 흐름 jobScope, stepScope → bean scope → application context → IoC, DI IoC부터 시작해 보자. IoC (Inversion of Control) 제어의 역전 - 객체 생명주기, 메서드 호출 외부에서 관리 일반적인 의존성에 대한 제어 → 객체 내에서 제어 public class Mundo { private FrostfireGauntlet frostfireGauntlet; private BerserkerShoes berserkerShoes; private DoranShield doranShield; public Mundo(){ this.frostfireGauntlet = new Fr..