Class BatchEventAutoConfiguration

java.lang.Object
org.springframework.cloud.task.batch.listener.BatchEventAutoConfiguration

@AutoConfiguration(after=SimpleTaskAutoConfiguration.class) @ConditionalOnClass(org.springframework.batch.core.Job.class) @ConditionalOnBean({org.springframework.batch.core.Job.class,TaskLifecycleListener.class}) @ConditionalOnProperty(prefix="spring.cloud.task.batch.events", name="enabled", havingValue="true", matchIfMissing=true) public class BatchEventAutoConfiguration extends Object
Autoconfigures Spring Batch listeners designed to emit events on the following channels.
Author:
Michael Minella, Glenn Renfro, Ali Shahbour
  • Field Details

    • JOB_EXECUTION_EVENTS_LISTENER

      public static final String JOB_EXECUTION_EVENTS_LISTENER
      Name of the job execution events listener bean.
      See Also:
    • CHUNK_EVENTS_LISTENER

      public static final String CHUNK_EVENTS_LISTENER
      Name of the chunk events listener bean.
      See Also:
    • STEP_EXECUTION_EVENTS_LISTENER

      public static final String STEP_EXECUTION_EVENTS_LISTENER
      Name of the step execution events listener bean.
      See Also:
    • ITEM_READ_EVENTS_LISTENER

      public static final String ITEM_READ_EVENTS_LISTENER
      Name of the item read events listener bean.
      See Also:
    • ITEM_WRITE_EVENTS_LISTENER

      public static final String ITEM_WRITE_EVENTS_LISTENER
      Name of the item write events listener bean.
      See Also:
    • ITEM_PROCESS_EVENTS_LISTENER

      public static final String ITEM_PROCESS_EVENTS_LISTENER
      Name of the item process events listener bean.
      See Also:
    • SKIP_EVENTS_LISTENER

      public static final String SKIP_EVENTS_LISTENER
      Name of the skip events listener bean.
      See Also:
  • Constructor Details

    • BatchEventAutoConfiguration

      public BatchEventAutoConfiguration()
  • Method Details