[
https://issues.jboss.org/browse/CDI-706?page=com.atlassian.jira.plugin.sy...
]
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)