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


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

Marks a method to be called before a Step is executed, which comes after a StepExecution is created and persisted, but before the first item is read.

Expected signature: void beforeStep(StepExecution stepExecution)

Since:
2.0
Author:
Lucas Ward
See Also:
StepExecutionListener



Copyright © 2009 SpringSource. All Rights Reserved.