[
https://jira.jboss.org/browse/WELDX-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pete Muir closed WELDX-100.
---------------------------
> Using AnnotatedTypeBuilder for ProcessAnnotatedType<T>
> event.setAnnotatedType() causes injection to fail globally.
> ------------------------------------------------------------------------------------------------------------------
>
> Key: WELDX-100
> URL: https://jira.jboss.org/browse/WELDX-100
> Project: Weld Extensions
> Issue Type: Bug
> Reporter: Lincoln Baxter III
> Priority: Blocker
>
> http://www.seamframework.org/Community/HowDoIRegisterAProducerForSubtypesDynamically#comment127009
> Caused by: org.jboss.weld.DeploymentException: Injection point has
> unstatisfied dependencies. Injection point: field
> org.jboss.seam.faces.component.FormFieldProducer.log; Qualifiers:
> @javax.enterprise.inject.Default()
> public class FormFieldTypingExtension implements Extension
> {
> public <T> void processAnnotatedType(@Observes final
> ProcessAnnotatedType<T> event)
> {
> AnnotatedTypeBuilder<T> builder =
> AnnotatedTypeBuilder.newInstance(event.getAnnotatedType());
> for (AnnotatedField<?> f : event.getAnnotatedType().getFields())
> {
> if (f.isAnnotationPresent(InputField.class))
> {
> builder.overrideFieldType(f.getJavaMember(), Object.class);
> }
> }
> event.setAnnotatedType(builder.create());
> }
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues