Class AfterStepScopeListener

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

    @Named
    @Dependent
    public class AfterStepScopeListener
    extends Object
    implements javax.batch.api.listener.StepListener
    This Listener is important for cleanup the StepContextImpl. Otherwise the StepContextImpl will leak.
    • Constructor Detail

      • AfterStepScopeListener

        public AfterStepScopeListener()
    • Method Detail

      • beforeStep

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

        public void afterStep()
                       throws Exception
        Specified by:
        afterStep in interface javax.batch.api.listener.StepListener
        Throws:
        Exception