public class Services
extends java.lang.Object
| Constructor and Description |
|---|
Services() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Class[] |
getImplementorClasses(java.lang.Class serviceClass) |
static java.lang.Class[] |
getImplementorClasses(java.lang.Class serviceClass,
java.lang.ClassLoader loader) |
static java.lang.Class[] |
getImplementorClasses(java.lang.String serviceName)
Return an array of Class objects of all known service implementors of the
specified class name(as resolved by the current thread's context class
loader).
|
static java.lang.Class[] |
getImplementorClasses(java.lang.String serviceName,
java.lang.ClassLoader loader) |
static java.lang.Class[] |
getImplementorClasses(java.lang.String serviceName,
java.lang.ClassLoader loader,
boolean skipMissing)
Return an array of Class objects of all known service implementors of the
specified class name, as resolved by the specified
ClassLoader. |
static java.lang.String[] |
getImplementors(java.lang.Class serviceClass)
Return an array of Strings of class names of all known service
implementors of the specified interface or class.
|
static java.lang.String[] |
getImplementors(java.lang.Class serviceClass,
java.lang.ClassLoader loader)
Return an array of Strings of class names of all known service
implementors of the specified interface or class.
|
static java.lang.String[] |
getImplementors(java.lang.String serviceName)
Return an array of Strings of class names of all known service
implementors of the specified class name(as resolved by the current
thread's context class loader).
|
static java.lang.String[] |
getImplementors(java.lang.String serviceName,
java.lang.ClassLoader loader)
Return an array of Strings of class names of all known service
implementors of the specified class name, as resolved by the specified
ClassLoader. |
public static java.lang.String[] getImplementors(java.lang.Class serviceClass)
public static java.lang.String[] getImplementors(java.lang.Class serviceClass,
java.lang.ClassLoader loader)
public static java.lang.String[] getImplementors(java.lang.String serviceName)
public static java.lang.String[] getImplementors(java.lang.String serviceName,
java.lang.ClassLoader loader)
ClassLoader.public static java.lang.Class[] getImplementorClasses(java.lang.Class serviceClass)
public static java.lang.Class[] getImplementorClasses(java.lang.Class serviceClass,
java.lang.ClassLoader loader)
public static java.lang.Class[] getImplementorClasses(java.lang.String serviceName)
public static java.lang.Class[] getImplementorClasses(java.lang.String serviceName,
java.lang.ClassLoader loader)
public static java.lang.Class[] getImplementorClasses(java.lang.String serviceName,
java.lang.ClassLoader loader,
boolean skipMissing)
throws java.lang.ClassNotFoundException
ClassLoader.skipMissing - if true, then ignore classes that cannot be loaded by
the classloader; otherwise, resolution failures will throw a
ClassNotFoundException.java.lang.ClassNotFoundExceptionCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.