Class MyBatchletWithPropertiesImpl

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

    @Named("myBatchletWithPropertiesImpl")
    public class MyBatchletWithPropertiesImpl
    extends jakarta.batch.api.AbstractBatchlet
    • Field Detail

      • GOOD_EXIT_CODE

        public static String GOOD_EXIT_CODE
      • myProperty2

        @Inject
        public String myProperty2
      • myDefaultProp1

        @Inject
        public String myDefaultProp1
      • mySubmittedProp

        @Inject
        public String mySubmittedProp
      • batchletProp

        @Inject
        public String batchletProp
    • Constructor Detail

      • MyBatchletWithPropertiesImpl

        public MyBatchletWithPropertiesImpl()
    • Method Detail

      • process

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

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