Class JobExecutionContextCopyListener

java.lang.Object
org.apache.fineract.cob.listener.JobExecutionContextCopyListener
All Implemented Interfaces:
org.springframework.batch.core.StepExecutionListener, org.springframework.batch.core.StepListener

public class JobExecutionContextCopyListener extends Object implements org.springframework.batch.core.StepExecutionListener
StepExecutionListener to copy values from Job execution context into Step execution context.
  • Constructor Details

    • JobExecutionContextCopyListener

      public JobExecutionContextCopyListener(List<String> stepExecutionKeys)
  • Method Details

    • beforeStep

      public void beforeStep(org.springframework.batch.core.StepExecution stepExecution)
      Method to copy values from Job execution context into Step execution context before step execution.
      Specified by:
      beforeStep in interface org.springframework.batch.core.StepExecutionListener
      Parameters:
      stepExecution - the step to be executed.