注释类型 BeforeJob


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