On 11/9/10 14:49, [email protected] wrote:

Richard,



Isn't wiring also performed when you do an osgi:restart<bundleId>  from the 
command prompt?

Maybe, not familiar with that command.

But my answer remains the same, the only notification about bundle resolution defined by the OSGi spec is the RESOLVED event, which is not fired for dynamic imports.

Maybe I'm not understanding your question.

-> richard



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]



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

Reply via email to