Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-551

Support injection of JobOperator

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.1.0.Beta1
    • None
    • jberet-core
    • None

      jakarta batch spec 2.1 requirement:

       

      10.4. JobOperator

      A JobOperator instance can be obtained in two ways:

        Via a factory pattern:
           JobOperator jobOper = BatchRuntime.getJobOperator();

       

      Via a CDI Bean:

          @Inject JobOperator jobOper;  // E.g. field injection (any CDI injection mechanism can
           be used)

       

       

              cfang@redhat.com Cheng Fang
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: