Package net.bytebuddy.agent.builder
Class AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.NotifyingClassLoadingAction
java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.NotifyingClassLoadingAction
- 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 Summary
FieldsModifier and TypeFieldDescriptionprivate final ClassLoader
The type's class loader which must not be the boot loader, i.enull
.private final String
The loaded type's name.private final AtomicBoolean
The signal that indicates the completion of the class loading withfalse
. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NotifyingClassLoadingAction
(String name, ClassLoader classLoader, AtomicBoolean signal) Creates a notifying class loading action. -
Method Summary
-
Field Details
-
name
The loaded type's name. -
classLoader
The type's class loader which must not be the boot loader, i.enull
. -
signal
The signal that indicates the completion of the class loading withfalse
.
-
-
Constructor Details
-
NotifyingClassLoadingAction
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.enull
.signal
- The signal that indicates the completion of the class loading withfalse
.
-
-
Method Details
-
call
- Specified by:
call
in interfaceCallable<Class<?>>
- Throws:
ClassNotFoundException
-