注释类型 BeforeStep
@Retention(RUNTIME) @Target(METHOD) public @interface BeforeStep
Marks a method to be called before aStep
is executed, which comes after aStepExecution
is created and persisted, but before the first item is read.
Expected signature: void beforeStep(StepExecution
stepExecution)- 从以下版本开始:
- 2.0
- 作者:
- Lucas Ward
- 另请参阅:
StepExecutionListener