Class InventoryStepListener
- java.lang.Object
-
- jakarta.batch.api.listener.AbstractStepListener
-
- com.ibm.jbatch.tck.artifacts.chunkartifacts.InventoryStepListener
-
- All Implemented Interfaces:
StatusConstants
,jakarta.batch.api.listener.StepListener
@Named("inventoryStepListener") public class InventoryStepListener extends jakarta.batch.api.listener.AbstractStepListener implements StatusConstants
-
-
Field Summary
Fields Modifier and Type Field Description protected DataSource
dataSource
-
Fields inherited from interface com.ibm.jbatch.tck.artifacts.common.StatusConstants
A_STEP_RAN, GOOD_JOB_EXIT_STATUS, GOOD_STEP_EXIT_STATUS, SPECIAL_EXIT_STATUS, UNEXPECTED
-
-
Constructor Summary
Constructors Constructor Description InventoryStepListener()
-
-
-
Field Detail
-
dataSource
protected DataSource dataSource
-
-
Method Detail
-
afterStep
public void afterStep() throws Exception
- Specified by:
afterStep
in interfacejakarta.batch.api.listener.StepListener
- Overrides:
afterStep
in classjakarta.batch.api.listener.AbstractStepListener
- Throws:
Exception
-
beforeStep
public void beforeStep()
- Specified by:
beforeStep
in interfacejakarta.batch.api.listener.StepListener
- Overrides:
beforeStep
in classjakarta.batch.api.listener.AbstractStepListener
-
-