$sig and
$type.
This support class is required at runtime
only if $sig or $type is used.
| Modifier and Type | Field and Description |
|---|---|
| private static final ThreadLocal | |
| public static boolean | useContextClassLoader
Specifies how a |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Class | |
| private static Class | |
| public static Class | |
| public static Class | |
| public static Class | |
| private static Class | |
| public static void | resetUseContextClassLoaderLocally()
Changes so that the current thread will not use the context class loader when a class is loaded. |
| public static void | setUseContextClassLoaderLocally()
Changes so that the current thread will use the context class loader when a class is loaded. |
| USE_CONTEXT_CLASS_LOADER_LOCALLY | back to summary |
|---|---|
| private static final ThreadLocal<Boolean> USE_CONTEXT_CLASS_LOADER_LOCALLY | |
| useContextClassLoader | back to summary |
|---|---|
| public static boolean useContextClassLoader Specifies how a If true, it is loaded by: Thread.currentThread().getContextClassLoader().loadClass() If false, it is loaded by | |
| Desc | back to summary |
|---|---|
| public Desc() | |
| getClassObject | back to summary |
|---|---|
| private static Class | |
| getClassType | back to summary |
|---|---|
| private static Class | |
| getClazz | back to summary |
|---|---|
| public static Class Interprets the given class name.
It is used for implementing | |
| getParams | back to summary |
|---|---|
| public static Class Interprets the given type descriptor representing a method
signature. It is used for implementing | |
| getType | back to summary |
|---|---|
| public static Class Interprets the given type descriptor.
It is used for implementing | |
| getType | back to summary |
|---|---|
| private static Class | |
| resetUseContextClassLoaderLocally | back to summary |
|---|---|
| public static void resetUseContextClassLoaderLocally() Changes so that the current thread will not use the context class loader
when a class is loaded.
Call this method before releasing the current thread for reuse.
It invokes
| |
| setUseContextClassLoaderLocally | back to summary |
|---|---|
| public static void setUseContextClassLoaderLocally() Changes so that the current thread will use the context class loader
when a class is loaded.
This method changes the behavior per thread unlike
| |