Class JavaDispatcher.DynamicClassLoader
java.lang.Object
java.lang.ClassLoader
net.bytebuddy.utility.dispatcher.JavaDispatcher.DynamicClassLoader
- Enclosing class:
JavaDispatcher<T>
A class loader for loading synthetic classes for implementing a
JavaDispatcher.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static interfaceA resolver to make adjustments that are possibly necessary to withhold module graph guarantees. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDynamicClassLoader(Class<?> target) Creates a new dynamic class loader. -
Method Summary
Methods inherited from class ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
DynamicClassLoader
Creates a new dynamic class loader.- Parameters:
target- The proxied type.
-
-
Method Details
-
proxy
Creates a new proxied type.- Parameters:
proxy- The proxy type interface.dispatchers- The dispatchers to implement.- Returns:
- An instance of the proxied type.
-
invoker
-