public class ClassloaderWrapper extends Object
Constructor and Description |
---|
ClassloaderWrapper() |
Modifier and Type | Method and Description |
---|---|
static <V> V |
runWithClass(Callable<V> callable) |
static void |
runWithClass(Runnable runnable) |
static <V> V |
runWithClassClassLoader(ClassLoader classLoader,
Callable<V> callable) |
static void |
runWithClassClassLoader(ClassLoader classLoader,
Runnable runnable) |
public static void runWithClass(Runnable runnable)
public static void runWithClassClassLoader(ClassLoader classLoader, Runnable runnable)
public static <V> V runWithClass(Callable<V> callable)
public static <V> V runWithClassClassLoader(ClassLoader classLoader, Callable<V> callable)
Copyright © 2019. All rights reserved.