]
Pete Muir commented on CDI-469:
-------------------------------
The injection point isn't valid there, even if the qualifiers are the same. I still
don't really understand what you are asking for.
Allow nonbinding producer methods to have scopes
------------------------------------------------
Key: CDI-469
URL:
https://issues.jboss.org/browse/CDI-469
Project: CDI Specification Issues
Issue Type: Feature Request
Components: Beans, Contexts
Affects Versions: 1.2.Final
Reporter: John Ament
Currently, you cannot have a nonbinding producer method, e.g. one where the annotation is
read at runtime, with a scope. This means that repeated injections always happen. It
would be better if you could scope the nonbinding producer methods, so that the results
were bound, e.g. to a request scope, so that look ups can be done once.
The current way to avoid this is to use a holder object with the proper scope.