Package javax.batch.api.listener
Interface StepListener
-
- All Known Implementing Classes:
AbstractStepListener
public interface StepListener
StepListener intercepts step execution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterStep()
The afterStep method receives control after a step execution ends.void
beforeStep()
The beforeStep method receives control before a step execution begins.
-
-
-
Method Detail
-
beforeStep
void beforeStep() throws java.lang.Exception
The beforeStep method receives control before a step execution begins.- Throws:
java.lang.Exception
- throw if an error occurs.
-
afterStep
void afterStep() throws java.lang.Exception
The afterStep method receives control after a step execution ends.- Throws:
java.lang.Exception
- throw if an error occurs.
-
-