Class AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.NotifyingClassLoadingAction

java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.NotifyingClassLoadingAction
All Implemented Interfaces:
Callable<Class<?>>
Enclosing class:
AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate

@Enhance protected static class AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.NotifyingClassLoadingAction extends Object implements Callable<Class<?>>
A class loading action that notifies the class loader's lock after the type was loaded.
  • Field Details

    • name

      private final String name
      The loaded type's name.
    • classLoader

      private final ClassLoader classLoader
      The type's class loader which must not be the boot loader, i.e null.
    • signal

      private final AtomicBoolean signal
      The signal that indicates the completion of the class loading with false.
  • Constructor Details

    • NotifyingClassLoadingAction

      protected NotifyingClassLoadingAction(String name, ClassLoader classLoader, AtomicBoolean signal)
      Creates a notifying class loading action.
      Parameters:
      name - The loaded type's name.
      classLoader - The type's class loader which must not be the boot loader, i.e null.
      signal - The signal that indicates the completion of the class loading with false.
  • Method Details