| Modifier and Type | Field and Description |
|---|---|
| public static final CustomClassLoaderCloseStrategy | CLOSE_AFTER_CALLING_LAUNCHER
Close the custom class loader after calling the
|
| public static final CustomClassLoaderCloseStrategy | KEEP_OPEN
Rely on the JVM to release resources held by the custom class loader when it terminates. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | |
| public static CustomClassLoaderCloseStrategy | |
| public static CustomClassLoaderCloseStrategy[] |
| CLOSE_AFTER_CALLING_LAUNCHER | back to summary |
|---|---|
| public static final CustomClassLoaderCloseStrategy CLOSE_AFTER_CALLING_LAUNCHER Close the custom class loader after calling the
| |
| KEEP_OPEN | back to summary |
|---|---|
| public static final CustomClassLoaderCloseStrategy KEEP_OPEN Rely on the JVM to release resources held by the custom class loader when it terminates. This mode is only safe to use when calling | |
| CustomClassLoaderCloseStrategy | back to summary |
|---|---|
| private CustomClassLoaderCloseStrategy() | |
| handle | back to summary |
|---|---|
| public abstract void handle(ClassLoader classLoader) Handle the class loader according to the strategy. | |
| valueOf | back to summary |
|---|---|
| public static CustomClassLoaderCloseStrategy valueOf(String name) | |
| values | back to summary |
|---|---|
| public static CustomClassLoaderCloseStrategy[] values() | |