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
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Class<?>>
- Enclosing class:
- AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate
protected static class AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.NotifyingClassLoadingAction extends java.lang.Object implements java.util.concurrent.Callable<java.lang.Class<?>>A class loading action that notifies the class loader's lock after the type was loaded.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.ClassLoaderclassLoaderThe type's class loader ornullif the type is loaded by the bootstrap loader.private java.lang.StringnameThe loaded type's name.private java.util.concurrent.atomic.AtomicBooleansignalThe signal that indicates the completion of the class loading withfalse.
-
Constructor Summary
Constructors Modifier Constructor Description protectedNotifyingClassLoadingAction(java.lang.String name, java.lang.ClassLoader classLoader, java.util.concurrent.atomic.AtomicBoolean signal)Creates a notifying class loading action.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>call()
-
-
-
Field Detail
-
name
private final java.lang.String name
The loaded type's name.
-
classLoader
private final java.lang.ClassLoader classLoader
The type's class loader ornullif the type is loaded by the bootstrap loader.
-
signal
private final java.util.concurrent.atomic.AtomicBoolean signal
The signal that indicates the completion of the class loading withfalse.
-
-
Constructor Detail
-
NotifyingClassLoadingAction
protected NotifyingClassLoadingAction(java.lang.String name, java.lang.ClassLoader classLoader, java.util.concurrent.atomic.AtomicBoolean signal)Creates a notifying class loading action.- Parameters:
name- The loaded type's name.classLoader- The type's class loader ornullif the type is loaded by the bootstrap loader.signal- The signal that indicates the completion of the class loading withfalse.
-
-