[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] OSGi Container bundles for Eclipse Remote Service tutorial

On 08/17/2010 07:58 AM, Nicholas Loulloudes wrote:
> Hi Markus,
> I am experimenting with the Zookeeper code rom Wim's tutorial, and one
> of the things i would like to do is to obtain a list of the services
> provided by a host.
> I tried to use the IDiscoveryLocator interface as suggested in the
> Zoodiscovery wiki, but when calling the getServices() method, an empty
> array is returned.
> Could the discovery part in OSGi assist me in getting a list of the
> published services? If yes, could you direct me on how to achieve this?

Question is, what is supposed to happen with the list of services once
retrieved. Do you want your distribution provider to create endpoints
and connect to each of to invoke services? Or do you just want to
display the results and e.g. let a user choose a service manually?