[
https://jira.jboss.org/jira/browse/WELD-318?page=com.atlassian.jira.plugi...
]
Pete Muir commented on WELD-318:
--------------------------------
Stuart, I'm having issues reproducing this on trunk (see r5452 for a test which
passes, and shows the injectionTarget.postConstruct() called for a dependent bean, as well
as it calling through to the actual @PostConstruct).
Can you test trunk and let me know if you see the problem? If possible, if you can patch
the test to fail, then that would be great :-)
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