Class DependentScopedBatchletContexts

  • All Implemented Interfaces:
    jakarta.batch.api.Batchlet

    @Dependent
    @Named("CDIDependentScopedBatchletContexts")
    public class DependentScopedBatchletContexts
    extends Object
    implements jakarta.batch.api.Batchlet
    • Method Detail

      • setMethod1

        @Inject
        public void setMethod1​(jakarta.batch.runtime.context.JobContext jm)
      • setMethod2

        @Inject
        public void setMethod2​(jakarta.batch.runtime.context.StepContext sm)
      • process

        public String process()
                       throws Exception
        Specified by:
        process in interface jakarta.batch.api.Batchlet
        Throws:
        Exception
      • stop

        public void stop()
                  throws Exception
        Specified by:
        stop in interface jakarta.batch.api.Batchlet
        Throws:
        Exception