On 2010-12-08 17.34, Niclas Hedhman wrote:
And in the mixin activate(), I check if there is a BundleContext as
metaInfo(), and if so, registers "myself" to the OSGi service
registry, with an optional set of properties.

Why can't you just use the servicefinder to lookup yourself? The type should be available in the ServiceDescriptor. Or you can do a lookup on Object.class and filter on id using ServiceQualifiers.

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to