User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

component_instance_race_condition [2014/01/23 07:18] (current)
mihael created
Line 1: Line 1:
 +====== Component Instance Race Condition ======
 +If a component is created via a component factory it is immediately returned after creation. But it might not be totally configured/​registered.
 +If this component instance is also a managed service then the component is registered as a managed service on a different thread and thus might lead to a race condition because the receiver of the component might immediately use this possibly //​unmanaged//​ component.
 +<​note>​This has been observed on Apache Felix (bundled with Glassfish 3.1.1).</​note>​
component_instance_race_condition.txt ยท Last modified: 2014/01/23 07:18 by mihael