Spring Batch @Job Scope @Step Scope
FrontPage
FindPage
TitleIndex
RecentChanges
UserPreferences
Spring Batch
에서
@Bean
을 통한 bean 생성 시점을 늦춘다.
원래 Application이 실행되는 시점에 bean들이 생성된다.
하지만
@JobScope
@StepScope
이 붙어있는 메소드는 해당 메소드가 실행될때까지 생성을 지연시킨다.
이런 Annotation을 쓰면
J
obParameter
를 Application 실행 이후에 참조할 수 있다.
EditText
FindPage
DeletePage
LikePages
last modified 2023-09-02 12:06:11
Processing time 0.0056 sec