public final class ClassLoaderBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
NO_HACK
Escape hatch in case this class loader hack breaks.
|
| Modifier and Type | Method and Description |
|---|---|
protected static ClassLoader |
createProtectiveClassLoader(ClassLoader cl,
String string)
Creates a new class loader that eventually delegates to the given
ClassLoader
such that XJC can be loaded by using this classloader. |
public static final boolean NO_HACK
protected static ClassLoader createProtectiveClassLoader(ClassLoader cl, String string) throws ClassNotFoundException, MalformedURLException
ClassLoader
such that XJC can be loaded by using this classloader.string - Either "1.0" or "2.0", indicating the version of the -source value.ClassNotFoundExceptionMalformedURLExceptionCopyright © 2006–2018 TinyGroup. All rights reserved.