Thanks for your response, please help to check my comments. 2009/11/26 Guo Du <[email protected]>
> On Thu, Nov 26, 2009 at 2:49 AM, Ivan <[email protected]> wrote: > > Hi, > > While trying the Felix as the OSGI runtime, I have some questions > about > > the resolve policy, please help to give some comments, thanks ! > > 1. Can an import connection be wired to an installed (not resolved) > No > Bundle status will be changes to resolved automatically from installed > when it's export package was used by any of the bundles including it's > activator. So no bundle will export package while in installed status. > So wire connection could only be established to those resolved bundles. right ? But what does "A resolved exporter must be preferred over an unresolved exporter." mean ? :-( In the doc, it says that the framework will try to resolve the bundle once it is installed, and it will also try to resolve the bundle in installed status if start method is called. For Felix, Are there any other chances that the resolve process will be fired ? > > > that " Bundle B resolved, Bundle A resloved". I wonder when the resolve > > action will occured ? Will Felix check whether all the installed bundle > When one of bundle.start() was called. > > > could be resolved once a new bundle is installed or resolved ? > Felix only automatically start bundle if it's exported package was > requested by other starting bundle. > As the spec says, the classloader for the bundle could be created once it is resolved, so why does the framework need to start the bundle if its export packages are wired to other bundles ? Is it the expected behavior by the spec ? > > -Guo > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Ivan

