[JBoss JIRA] (CDI-706) ProducerConfigurator has no method to configure the InjectionPoints

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JBoss JIRA] (CDI-706) ProducerConfigurator has no method to configure the InjectionPoints

JIRA issues@jboss.org

    [ https://issues.jboss.org/browse/CDI-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13419230#comment-13419230 ]

Matej Novotny commented on CDI-706:
-----------------------------------

Also one more thing...

bq. So it is effectively not possible to properly *create* a Producer with this Configurator.

Yes, it not. Configurators were meant as a way to alter existing entities (producers in this case; only during {{ProcessProducer}}).
If you wish to create a new one, I think {{BeanConfigurator}} is a better fit as there you define a way to produce such beans from scratch.

> ProducerConfigurator has no method to configure the InjectionPoints
> -------------------------------------------------------------------
>
>                 Key: CDI-706
>                 URL: https://issues.jboss.org/browse/CDI-706
>             Project: CDI Specification Issues
>          Issue Type: Bug
>            Reporter: Mark Struberg
>
> Producer has not only produce() and dispose() but also
> {noformat}
> Set<InjectionPoint> getInjectionPoints()
> {noformat}
> But this information cannot be set with the ProducerConfigurator.
> So it is effectively not possible to properly create a Producer with this Configurator.
> Or did I miss some trick?



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
_______________________________________________
cdi-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/cdi-dev

Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.
Loading...