[weld-issues] [JBoss JIRA] Commented: (WELD-318) Wrapping InjectionTarget does not work for Beans with a Producer field

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Wed Jan 13 17:45:30 EST 2010


    [ https://jira.jboss.org/jira/browse/WELD-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12505334#action_12505334 ] 

Stuart Douglas commented on WELD-318:
-------------------------------------

I am still having problems with it, I will try and isolate it in a test case. The biggest difference that I can see is that I am adding my beans through the addAnnotatedType interface. 

> Wrapping InjectionTarget does not work for Beans with a Producer field
> ----------------------------------------------------------------------
>
>                 Key: WELD-318
>                 URL: https://jira.jboss.org/jira/browse/WELD-318
>             Project: Weld
>          Issue Type: Bug
>          Components: Bootstrap and Metamodel API
>            Reporter: Stuart Douglas
>            Assignee: Pete Muir
>             Fix For: 1.0.1.CR1
>
>
> I am trying to wrap InjectionTarget to set field values at bean creation time. This works perfectly unless the bean has a producer field.
> When the bean has a producer the InjectionTarget.postConstruct is never called (even though the PostConstruct method on the bean is called).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list