org.springframework.batch.core.annotation
Annotation Type BeforeJob


@Retention(value=RUNTIME)
@Target(value=METHOD)
@Qualifier(value="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



Copyright © 2013 SpringSource. All Rights Reserved.