Class ClassLoadingStrategy.Default.InjectionDispatcher

java.lang.Object
net.bytebuddy.dynamic.loading.ClassLoadingStrategy.Default.InjectionDispatcher
All Implemented Interfaces:
ClassLoadingStrategy<ClassLoader>, ClassLoadingStrategy.Configurable<ClassLoader>
Enclosing class:
ClassLoadingStrategy.Default

@Enhance protected static class ClassLoadingStrategy.Default.InjectionDispatcher extends Object implements ClassLoadingStrategy.Configurable<ClassLoader>

A class loading strategy which applies a class loader injection while applying a given ProtectionDomain on class injection.

Important: Class injection requires access to JVM internal methods that are sealed by security managers and the Java Platform module system. Since Java 11, access to these methods is no longer feasible unless those packages are explicitly opened.