Differences

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

Link to this comparison view

component_instance_race_condition [2014/01/23 08:18]
component_instance_race_condition [2021/04/05 11:23] (current)
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>
 +
 +{{tag>osgi}}