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

Bug 206046

Summary: IDiscoveryContainerAdapter doesn't allow clients to get all known Services or ServiceTypes
Product: [RT] ECF Reporter: Markus Kuppe <bugs.eclipse.org>
Component: ecf.discoveryAssignee: Markus Kuppe <bugs.eclipse.org>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: slewis
Version: 1.1.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 209774    
Attachments:
Description Flags
patch for IDiscoveryContainerAdapter, rest will follow none

Description Markus Kuppe CLA 2007-10-11 10:50:33 EDT
Hi,

it isn't possible for clients to obtain all previously discovered IService or IServiceType instances. It is only possible to obtain all IService instances for a given IServiceType. This isn't useful if the client doesn't know about the already discovered IService instances.
The patches adds:

public IServiceInfo[] getServices();
public IServiceTypeID[] getServiceTypes();

to IDiscoveryContainerAdapter and provides an Impl for providers.
Comment 1 Markus Kuppe CLA 2007-10-11 10:57:06 EDT
Created attachment 80145 [details]
patch for IDiscoveryContainerAdapter, rest will follow
Comment 2 Markus Kuppe CLA 2007-11-29 07:29:27 EST
Fixed in HEAD via bug 209774
Comment 3 Scott Lewis CLA 2008-05-18 19:48:06 EDT
closing