Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-19701

Support javax.batch.runtime.context.JobContext injections

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 4.3.0.Beta1
    • 4.3.0.Alpha2
    • batch, cdi-extensions
    • None

      You can find an example of such injections here:
      https://github.com/jboss-developer/jboss-sandbox-quickstarts/blob/master/batch-processing/src/main/java/org/jboss/as/quickstarts/batch/job/listener/JobListener.java#L38

      1. Import https://github.com/jboss-developer/jboss-sandbox-quickstarts/ as an exisitng maven project
      2. Open /batch-processing/src/main/java/org/jboss/as/quickstarts/batch/job/listener/JobListener.java
      3. There should not be a warning message about no eligible beans for:

      @Inject
      private JobContext jobContext;
      

            scabanovich Viacheslav Kabanovich (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: