geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <>
Subject [jira] Created: (GERONIMO-5135) Blueprint and gbeans need synchronization
Date Mon, 08 Feb 2010 08:29:28 GMT
Blueprint and gbeans need synchronization

                 Key: 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.

View raw message