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

JobScoped & StepScoped missing Target METHOD and FIELD

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment