|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsun.misc.Service
public class Service
Constructor Summary | |
---|---|
Service()
|
Method Summary | ||
---|---|---|
static
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Service()
Method Detail |
---|
public static <P> Iterator<P> providers(Class<P> c, ClassLoader cl)
Iterator
over the service providers which
provide a service of the given class, and are available from
the specified classloader.
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |