Uploaded image for project: 'BatchEE'
  1. BatchEE
  2. BATCHEE-125

JobScoped & StepScoped missing Target METHOD and FIELD

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5-incubating
    • batchee-cli
    • None

    Description

      JobScoped and StepScoped beans can not be produced, because they are missing @Target for Methods and Fields.

      public class EmProducer {
          @Produces @JobScoped EntityManager createEm() { return ... }
      }
      

      results in a compile error: annotation type not applicable to this kind of declaration

      Attachments

        1. 0001-BATCHEE-125-add-FIELD-METHOD-to-scope-annotations.patch
          2 kB
          Alexander Falb
        2. BATCHEE-125.patch
          2 kB
          Alexander Falb

        Activity

          People

            struberg Mark Struberg
            elexx Alexander Falb
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: