public final class ClassLoaderUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Object |
fromByteArray(ClassLoader classLoader,
byte[] buf) |
static Thread |
newThreadWithIsolatedClassloader(ClassLoader isolatedClassLoader,
Class<? extends Runnable> runnable,
Serializable... ctorArgs) |
static byte[] |
toByteArray(Serializable o) |
static Function<File,URL> |
toUrl() |
public static Thread newThreadWithIsolatedClassloader(ClassLoader isolatedClassLoader, Class<? extends Runnable> runnable, Serializable... ctorArgs)
public static byte[] toByteArray(Serializable o)
public static Object fromByteArray(ClassLoader classLoader, byte[] buf)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.