sun.misc
public class Service extends Object
Method Summary | |
---|---|
static <P> Iterator<P> | providers(Class<P> c, ClassLoader cl)
Returns an Iterator over the service providers which
provide a service of the given class, and are available from
the specified classloader.
|
Parameters: c the service provider interface which must be
implemented by any loaded service providers. cl the class loader that will be used to load the
service providers, or null
for the system class
loader.
Returns: an iterator over the service providers.