Blueprint and gbeans need synchronization
-----------------------------------------

                 Key: GERONIMO-5135
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5135
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: osgi
    Affects Versions: 3.0
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: 3.0


Geronimo plugins start synchronously in the starting thread whereas blueprint 
plans start asynchronously.  This can lead to a situation where a gbean that 
depends on a blueprint bean having started gets started before the blueprint 
plan is processed or the blueprint bean started.

A simple way to deal with this is with a WaitForBlueprint gbean that registers 
as a BlueprintListener and blocks until it receives notification that the 
blueprint stuff either started ok or failed to start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to