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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NotifyingClassLoadingAction(String name, ClassLoader classLoader, AtomicBoolean signal)
Creates a notifying class loading action.
-
-
-
Constructor Detail
-
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 ornull
if the type is loaded by the bootstrap loader.signal
- The signal that indicates the completion of the class loading withfalse
.
-
-
Method Detail
-
call
public Class<?> call() throws ClassNotFoundException
- Specified by:
call
in interfaceCallable<Class<?>>
- Throws:
ClassNotFoundException
-
-