You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/11/21 10:43:01 UTC

[jira] [Commented] (BATCHEE-125) JobScoped & StepScoped missing Target METHOD and FIELD

    [ https://issues.apache.org/jira/browse/BATCHEE-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16260557#comment-16260557 ] 

Hudson commented on BATCHEE-125:
--------------------------------

SUCCESS: Integrated in Jenkins build batchee #643 (See [https://builds.apache.org/job/batchee/643/])
BATCHEE-125 add FIELD, METHOD to scope annotations (struberg: rev 563769a1d106344fae9be7e7d52751cbf93db5d2)
* (edit) extensions/cdi/src/main/java/org/apache/batchee/cdi/scope/JobScoped.java
* (edit) extensions/cdi/src/main/java/org/apache/batchee/cdi/scope/StepScoped.java


> JobScoped & StepScoped missing Target METHOD and FIELD
> ------------------------------------------------------
>
>                 Key: BATCHEE-125
>                 URL: https://issues.apache.org/jira/browse/BATCHEE-125
>             Project: BatchEE
>          Issue Type: Bug
>          Components: batchee-cli
>            Reporter: Alexander Falb
>            Assignee: Mark Struberg
>             Fix For: 0.5-incubating
>
>         Attachments: 0001-BATCHEE-125-add-FIELD-METHOD-to-scope-annotations.patch, BATCHEE-125.patch
>
>
> JobScoped and StepScoped beans can not be produced, because they are missing {{@Target}}  for Methods and Fields.
> {code}
> public class EmProducer {
>     @Produces @JobScoped EntityManager createEm() { return ... }
> }
> {code}
> results in a compile error: {{annotation type not applicable to this kind of declaration}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)