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
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 ornull
if the type is loaded by the bootstrap loader.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 ornull
if the type is loaded by the bootstrap loader. -
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 ornull
if the type is loaded by the bootstrap loader.signal
- The signal that indicates the completion of the class loading withfalse
.
-
-
Method Details
-
call
- Specified by:
call
in interfaceCallable<Class<?>>
- Throws:
ClassNotFoundException
-