注释类型 BeforeStep


  • @Retention(RUNTIME)
    @Target(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)
    从以下版本开始:
    2.0
    作者:
    Lucas Ward
    另请参阅:
    StepExecutionListener