I don't know if this is the source of your problem, but the design you are using is not ideal for OSGi. Instead of using reflection, you should use services. Bundle A should not import anything from Bundle B or Bundle C. In fact, Bundles B and C probably don't need to export any packages.
Justin On Wed, Jul 27, 2011 at 10:38 PM, Allain Turgeon <[email protected]> wrote: > Hi, > > I am trying to build a framework that would load an interface bundle (bundle > A, no activator) that communicates with one or more bundles using refletion > (e.g. B and C) and want to be able to update bundle B without disrupting > bundle C. Right now, if I update B, the FelixPackageAdmin will shutdown / > restart B and then shutdown/restart C. I¹d to keep A and C running without > disruption until either A or C gets updated. > > Here¹s what I would like to get: > If I update B, only B gets reloaded. > If I update C, only C gets reloaded. > If I update A, both B and C needs to be reloaded. > > Both B and C export their acess-point namespace and bundle A imports them. > > Can this be done or is the OSGi framework limited in a such a scenario? > > Thanks, > -- > Allain Turgeon | Software Developer > radian6, a salesforce.com company > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

