Interface TypeDescription.SuperTypeLoading.ClassLoadingDelegate

All Known Implementing Classes:
AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate, AgentBuilder.DescriptionStrategy.SuperTypeLoading.UnlockingClassLoadingDelegate, TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple
Enclosing class:
TypeDescription.SuperTypeLoading

public static interface TypeDescription.SuperTypeLoading.ClassLoadingDelegate
A class loading delegate is responsible for resolving a type given a class loader and a type name.
  • Method Details

    • load

      Class<?> load(String name, ClassLoader classLoader) throws ClassNotFoundException
      Loads a type.
      Parameters:
      name - The type's name,
      classLoader - The class loader to load the type from which might be null to represent the bootstrap class loader.
      Returns:
      The loaded type.
      Throws:
      ClassNotFoundException - If the type could not be found.