users@glassfish.java.net

HK2: How to get a list of instances that implement a service

From: David Van Couvering <David.Vancouvering_at_Sun.COM>
Date: Wed, 20 Aug 2008 08:56:58 -0700

I sent this to the HK2 user list but it seems kind of quiet over there,
so I'm resending here:

Hi, all. I would like to get all instances that implement a given
service. How do I do this?

The Javadoc refers to a ServiceLookup

https://hk2.dev.java.net/nonav/hk2/apidocs/com/sun/enterprise/module/ServiceLookup.html


but I can't find this in the code repository nor can I find out how I
gain access to an instance of ServiceLookup.

Thanks,

David