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

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Jan 15 07:35:35 EST 2010


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

Pete Muir commented on WELD-318:
--------------------------------

BTW I don't mean "write a test that checks if the initialized flag gets set properly" as that is (a) trivial, and (b) not the issue you reported.

> 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: Stuart Douglas
>             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