Class CountInvocationsStepListener

java.lang.Object
jakarta.batch.api.listener.AbstractStepListener
com.ibm.jbatch.tck.artifacts.reusable.CountInvocationsStepListener
All Implemented Interfaces:
jakarta.batch.api.listener.StepListener

@Named public class CountInvocationsStepListener extends jakarta.batch.api.listener.AbstractStepListener
  • Field Details

    • STATIC_BEFORE_COUNT

      public static int STATIC_BEFORE_COUNT
    • STATIC_AFTER_COUNT

      public static int STATIC_AFTER_COUNT
  • Constructor Details

    • CountInvocationsStepListener

      public CountInvocationsStepListener()
  • Method Details

    • beforeStep

      public void beforeStep() throws Exception
      Specified by:
      beforeStep in interface jakarta.batch.api.listener.StepListener
      Overrides:
      beforeStep in class jakarta.batch.api.listener.AbstractStepListener
      Throws:
      Exception
    • afterStep

      public void afterStep() throws Exception
      Specified by:
      afterStep in interface jakarta.batch.api.listener.StepListener
      Overrides:
      afterStep in class jakarta.batch.api.listener.AbstractStepListener
      Throws:
      Exception