Felix Meschberger wrote:
Hi,

Carsten Ziegeler schrieb:
Felix Meschberger wrote:
Hi,

Can we please revert this fix (Rev. 679680, fix for 581), because it is _not_ the real fix ;-)

Ups, I didn't spend too much time looking at the activate method :(
Now, I'm wondering what the better way is: adding the component as a listener in the activate method or declaring the service interface through SCR?

I don't think, I understand you ;-)

A bundle listener is registered directly with the bundle context (BundleContext.addBundleListener()). Simply registering it as a service with the service registry does not work...

Argh - yes, you're right. (Oh my it's too hot to work today). I actually made the same mistake some weeks ago.....

Thanks!
Carsten
--
Carsten Ziegeler
[EMAIL PROTECTED]

Reply via email to