batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Falb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BATCHEE-125) JobScoped & StepScoped missing Target METHOD and FIELD
Date Mon, 20 Nov 2017 15:21:00 GMT
Alexander Falb created BATCHEE-125:
--------------------------------------

             Summary: 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


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)

Mime
View raw message