| Using Declarative Service in a Eclipse plugin [message #1014616]
||Tue, 26 February 2013 01:47
| Krishna Murthy Mirajkar
Registered: July 2009
I am planning to use OSGi LogService in my Eclipse product. I have setLogService for LogService to bind and a clear for unbind in my Logger Component. The problem is that this Logger Component is never registered by the OSGi SCR. I have included the equinox.ds bundle. I am not sure it why isn't registering this component as LogService consumer.
On the other hand LogServiceReader is honored and registered as a Log reader and I do get notifications from some infrastructure bundles which log to the OSGi LogService but not my Logger component because it never gets registered.
Any help is appreciated.
Powered by FUDForum
. Page generated in 0.01780 seconds