Start / restart may force a resolution of the bundle (if it wasn't resolved already), so it could have such an effect. However, the refresh may change the resolution too.
On Tue, Nov 9, 2010 at 20:49, <[email protected]> wrote: > > > Richard, > > > > Isn't wiring also performed when you do an osgi:restart <bundleId> from the > command prompt? > > > > v/r, > > > > Mike Van > > > ----- Original Message ----- > From: "Richard S. Hall" <[email protected]> > To: [email protected] > Sent: Tuesday, November 9, 2010 9:23:53 AM > Subject: Re: Is there any way to monitor the wired bundles changes ? > > There is no event when dynamic imports are resolved. The only > wire-related event is BundleEvent.RESOLVED when a bundle is first resolved. > > -> richard > > On 11/8/10 22:11, Ivan wrote: >> Hi, >> While dynamic import is used, the wired bundles might change on the >> runtime. With packageAdmin service, I could easily get all the wired bundles >> for the host bundle, but it takes time to iterator the import/export >> packages. I am wondering that is there any way that I could get the >> notification while the wired bundles are updated, so that I could call the >> packageAdmin only when the changes occurs. >> thanks. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

