Package org.apache.fineract.cob.listener
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeStep(org.springframework.batch.core.StepExecution stepExecution) Method to copy values from Job execution context into Step execution context before step execution.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.batch.core.StepExecutionListener
afterStep
-
Constructor Details
-
JobExecutionContextCopyListener
-
-
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:
beforeStepin interfaceorg.springframework.batch.core.StepExecutionListener- Parameters:
stepExecution- the step to be executed.
-