문서의 이전 판입니다!
@BeforeJob, @AfterJob, @BeforeStep, @AfterStep 등을 구현한 클래스를 listener 로 등록하면 된다.ItemReader, ItemProcessor, ItemWriter에 붙어있어도 작동한다.@BeforeStep은 void beforeStep(StepExecution stepExecution) 를 구현하여 StepExecution을 주입할 수 있다.@BeforeJob은 마찬가지로 JobExecution을 주입할 수 있다.