On 07/27/2011 10:38 PM, Allain Turgeon 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.

If updating B causes C to be refreshed, then there must be a package dependency from C to B that you are forgetting about. Otherwise, if there are no dependencies between two bundles, refreshing one won't impact the other.

You can use the "inspect" command to check for various dependencies or set felix.log.level to 4 in the conf/config.properties files to see what wires are created.

-> richard



  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,

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to