protected static class JavaDispatcher.DynamicClassLoader extends ClassLoader
JavaDispatcher
.Modifier and Type | Class and Description |
---|---|
protected static interface |
JavaDispatcher.DynamicClassLoader.Resolver
A resolver to make adjustments that are possibly necessary to withhold module graph guarantees.
|
Modifier | Constructor and Description |
---|---|
protected |
DynamicClassLoader(Class<?> target)
Creates a new dynamic class loader.
|
Modifier and Type | Method and Description |
---|---|
protected static Invoker |
invoker()
Resolves a
Invoker for a separate class loader. |
protected static Object |
proxy(Class<?> proxy,
Map<Method,JavaDispatcher.Dispatcher> dispatchers)
Creates a new proxied type.
|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
protected DynamicClassLoader(Class<?> target)
target
- The proxied type.protected static Object proxy(Class<?> proxy, Map<Method,JavaDispatcher.Dispatcher> dispatchers)
proxy
- The proxy type interface.dispatchers
- The dispatchers to implement.Copyright © 2014–2024. All rights reserved.