protected static class Transformation.PluginResolvingClassLoader extends ClassLoader
| Modifier | Constructor and Description |
|---|---|
protected |
PluginResolvingClassLoader(ClassLoader parent,
ClassLoader classLoader,
ProtectionDomain protectionDomain)
Creates a new plugin resolving class loader.
|
| Modifier and Type | Method and Description |
|---|---|
protected Class<?> |
findClass(String name) |
static Class<?> |
wrap(ClassLoader parent,
Class<?> type)
Wraps a plugin type with a class loader that resolves Byte Buddy via the Byte Buddy plugin's class loader.
|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersprotected PluginResolvingClassLoader(ClassLoader parent, ClassLoader classLoader, ProtectionDomain protectionDomain)
parent - The parent class loader.classLoader - The class loader of the user supplied plugin.protectionDomain - The protection domain to resolve.public static Class<?> wrap(ClassLoader parent, Class<?> type)
parent - The parent class loader.type - The supplied type.protected Class<?> findClass(String name) throws ClassNotFoundException
findClass in class ClassLoaderClassNotFoundException