Community
Participate
Working Groups
If a consumer registers its IService(Type)Listeners via the OSGi whiteboard pattern while using the CompositeDiscoveryProvider, listeners will receive discovery events twice. The second discovery event originates from the nested discovery provider inside the CompositeDiscoveryProvider. In general it is questionable if the CompositeDiscoveryProvider makes sense in the OSGi context where the OSGi service registry/whiteboard pattern takes over the CompositeDiscoveryProvider functionality WRT listener handling.
Added functionality to specify for which discovery container the listener gets registered in the OSGi service registry.
Created attachment 181258 [details] mylyn/context/zip
Fix with bug #328278 and verified in build https://build.ecf-project.org/hudson/job/C-HEAD-discovery.feature/lastSuccessfulBuild/