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


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface AfterJob

Marks a method to be called after a Job has completed. Annotated methods will be called regardless of the status of the JobExecution.

Expected signature: void afterJob(JobExecution jobExecution)

Since:
2.0
Author:
Lucas Ward
See Also:
JobExecutionListener



Copyright © 2013 SpringSource. All Rights Reserved.