[
https://ops4j1.jira.com/browse/QI-327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15161#comment-15161
]
Niclas Hedhman commented on QI-327:
-----------------------------------
Added Qi327Test to highlight the problem.
> Initializable.initialize() is called when ValueBuilder.prototype() is called.
> -----------------------------------------------------------------------------
>
> Key: QI-327
> URL: https://ops4j1.jira.com/browse/QI-327
> Project: Qi4j
> Issue Type: Bug
> Reporter: Niclas Hedhman
> Fix For: 1.4
>
>
> If a ValueComposite implements Initializable, then the intialize() method
> will be called during the prototype() creation, which is IMHO incorrect. I
> think initialize() should only be called after the properties has been set
> for the Value, so one can do processing on those at a known point in time.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev