[
https://ops4j1.jira.com/browse/QI-347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14247#comment-14247
]
Niclas Hedhman commented on QI-347:
-----------------------------------
The immediate work-around is to instaniateOnStartup() all services, so they get
activated in a single thread.
> Service lazy activation is not thread-safe
> ------------------------------------------
>
> Key: QI-347
> URL: https://ops4j1.jira.com/browse/QI-347
> Project: Qi4j
> Issue Type: Bug
> Reporter: Niclas Hedhman
> Assignee: Niclas Hedhman
>
> In ServiceReferenceInstance the getInstance() method sets the instance field
> before it has completed the activate() method. This allows consumers in other
> threads to access the instance before it is ready.
--
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