| Package | Description |
|---|---|
| java.lang | |
| java.lang.reflect |
Provides classes and interfaces for obtaining reflective
information about classes and objects.
|
| java.util |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
Class.getClassLoader()
Returns the class loader for the class.
|
ClassLoader |
ClassLoader.getParent()
Returns the parent class loader for delegation.
|
static ClassLoader |
ClassLoader.getSystemClassLoader()
Returns the system class loader for delegation.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
Class.forName(String name,
boolean initialize,
ClassLoader loader)
Returns the
Class object associated with the class or
interface with the given string name, using the given class loader. |
| Constructor and Description |
|---|
ClassLoader(ClassLoader parent)
Creates a new class loader using the specified parent class loader for
delegation.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
Proxy.getProxyClass(ClassLoader loader,
Class<?>... interfaces)
Returns the
java.lang.Class object for a proxy class
given a class loader and an array of interfaces. |
static Object |
Proxy.newProxyInstance(ClassLoader loader,
Class<?>[] interfaces,
InvocationHandler h)
Returns an instance of a proxy class for the specified interfaces
that dispatches method invocations to the specified invocation
handler.
|
| Modifier and Type | Method and Description |
|---|---|
static <S> ServiceLoader<S> |
ServiceLoader.load(Class<S> service,
ClassLoader loader)
Creates a new service loader for the given service type and class
loader.
|
Copyright © 2013 API Design. All Rights Reserved.