Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 206247

Summary: [Discovery] IDiscoveryContainerAdapter should offer method addServiceListener(IServiceListener)
Product: [RT] ECF Reporter: Markus Kuppe <bugs.eclipse.org>
Component: ecf.discoveryAssignee: Markus Kuppe <bugs.eclipse.org>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 209774    

Description Markus Kuppe CLA 2007-10-14 06:56:25 EDT
Hi,

for consumers it might be desirable to just register as a IServiceListener independent of the IServiceType. So far it is only possible to register IServiceListener for specific IServiceType, but not for all IServiceTypes.
An alternative to add a new method to IDiscoveryContainerAdapter might be, to have an IServiceType wildcard which could be pass along addServiceListener(IServiceType, IServiceListener), but a separate method is much cleaner and OO.

Cheers
Markus
Comment 1 Markus Kuppe CLA 2007-11-29 07:28:53 EST
Fixed in HEAD via bug 209774