Class CountInvocationsStepListener

  • All Implemented Interfaces:
    jakarta.batch.api.listener.StepListener

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

      • STATIC_BEFORE_COUNT

        public static int STATIC_BEFORE_COUNT
      • STATIC_AFTER_COUNT

        public static int STATIC_AFTER_COUNT
    • Constructor Detail

      • CountInvocationsStepListener

        public CountInvocationsStepListener()
    • Method Detail

      • 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