|Re: [ecf-dev] OSGi Container bundles for Eclipse Remote Service tutorial|
A list of services should be provided, the user can select one service, attach a listener to it and be notified on possible changes of the specific service.
On 08/17/2010 07:58 AM, Nicholas Loulloudes wrote:
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?
ecf-dev mailing list
Nicholas Loulloudes High Performance Computing Systems Laboratory (HPCL) University of Cyprus, Nicosia, Cyprus
Tel: +357-22892663 Email: loulloudes.n[at]cs.ucy.ac.cy _________________________________________________
Description: S/MIME Cryptographic Signature