[cdi-dev] [JBoss JIRA] (CDI-714) No way to access the underlying bean in a producer when using BeanConfigurator
John Ament (JIRA)
issues at jboss.org
Sat Sep 2 08:57:00 EDT 2017
John Ament created CDI-714:
Summary: No way to access the underlying bean in a producer when using BeanConfigurator
Project: CDI Specification Issues
Issue Type: Feature Request
Reporter: John Ament
I was reusing an example the Weld guys pointed me at.
InjectionPoint ip = (InjectionPoint)bm.getInjectableReference(new EmptyInjectionPoint(be...), cc);
The problem is that I'm using the configurator to create the bean, and the resulting function for the producer doesn't have access to the bean that was created.
.addQualifiers(new ClaimLiteral("", Claims.UNKNOWN))
So because of this, I have no way to get the injection point.
This message was sent by Atlassian JIRA
More information about the cdi-dev