Recent Posts

[스프링 배치] StepScope

빈 스코프는 특정 빈 정의가 주어졌을 때 해당 클래스의 인스턴스화(객체 생성)를 어떻게 할 것인지를 지정하는 역할을 한다.

[스프링] ApplicationRunner, CommandLineRunner

ApplicationRunner와 CommandLineRunner는 스프링 애플리케이션 내에 포함될 때 자동으로 실행되어야 하는 빈을 지정하는데 사용되는 인터페이스이다. ApplicationRunner와 CommandLineRunner는 스프링 애플리케이션이 시작된 후에 자동으로 ...