Package org.springframework.batch.core.annotation

# Annotation Interface BeforeJob

@Retention(RUNTIME) @Target(METHOD) @Qualifier("JobExecutionListener") public @interface BeforeJob
Marks a method to be called before a `Job` is executed, which comes after a `JobExecution` is created and persisted, but before the first `Step` is executed.
Expected signature: void beforeJob(`JobExecution` jobExecution)

Since:
  2.0
Author:
  Lucas Ward
See Also:
  - `JobExecutionListener`