Class BatchAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.batch.BatchAutoConfiguration

Auto-configuration for Spring Batch. If a single job is found in the context, it will be executed on startup.

Disable this behavior with spring.batch.job.enabled=false).

If multiple jobs are found, a job name to execute on startup can be supplied by the User with : spring.batch.job.name=job1. In this case the Runner will first find jobs registered as Beans, then those in the existing JobRegistry.

Since:
1.0.0
Author:
Dave Syer, EddĂș MelĂ©ndez, Kazuki Shimizu, Mahmoud Ben Hassine
  • Constructor Details

    • BatchAutoConfiguration

      public BatchAutoConfiguration()
  • Method Details